Question
Change image in multiple choice questions after time delay (java)
Hello,
I want to change the graphics I included in one of the option for a multiple choice question type after certain seconds.
I wrote the following code, but it doesn't work. Does anyone has an idea how to fix it?
I want to change choice A's image to something else after 4000 milliseconds.
var delayTime2=4000;
setTimeout(function(){
console.log(jQuery("#QID68-1-label"));
console.log(jQuery("#QID68-1-label").find("img"));
jQuery("#QID68-1-label").find("img").attr("src","https://iu.co1.qualtrics.com/WRQualtricsControlPanel/Graphic.php?IM=IM_8dCmD7RnfZIh4c5");
}, delayTime2);
});
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
