Hello,Complete newbie to coding in JS, so I'm hoping someone can help. I'm trying to create a set of custom graphic sliders so that people can effectively choose their preferred portion of a variety of different foods. I found this incredibly helpful script posted by Nami, however I am experiencing difficulties with getting more than one slider to appear on the same page. The script is as follows:Qualtrics.SurveyEngine.addOnload(function() { /*Place your JavaScript here to run when the page loads*/});Qualtrics.SurveyEngine.addOnReady(function() { /*Place your JavaScript here to run when the page is fully displayed*/ // Get Image var img_apple = jQuery("#myImage1"); // Function to look for track changes in slider jQuery("input[type = hidden]").change(function() { var answer_apple = parseInt(jQuery("#QID1 input.ResultsInput").eq(0).val()); console.log(answer_apple) // Images in order below var images_list_apple = [ // Image URL's go here ] // Swap image accord
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.