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!
Page 1 / 1
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
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.