Hello,
I am looking to change the background colour (ex. light gray) to just one button on a multiple choice question (ex. "N/A" option). Does anyone have any pointers on how to do this? Thank you!
Solved
Changing colour of one button in multiple choice question
Best answer by Rudi
hi, you could try this:
Qualtrics.SurveyEngine.addOnload(function()
{
let labels = document.getElementsByClassName('LabelContainer') //get the label elements of the questions
labels[labels.length-1].style.backgroundColor='#efefef' //set the background color of the last element
});
Best regards
Rudi
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
