I have a single question with four answer options displayed horizontally. I am trying to move them so that they align with an HTML table which appears directly above.
I have managed to successfully use this syntax to move the first and last answer boxes around.
Qualtrics.SurveyEngine.addOnload(function()
{
var el1 = $(this.questionId).select('label.SingleAnswer').first();
el1.style.marginLeft = "80%";
var el4 = $(this.questionId).select('label.SingleAnswer').last();
el4.style.marginLeft = "200%";
});
How do I select the 2nd and 3rd answer boxes? I've tried $(this.questionId).select('label.SingleAnswer').eq(1); for the second, but this doesn't work.
Question
How to move answer boxes
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
