-
Hello, I was trying to load the jspsych-html-slider-response plugin for an experiment trial, but I keep on getting an error. Interestingly, I have no issues when I try loading other plugins, such as jspsych-html-keyboard-response. I made sure to check the file path and copy and pasted the file name. I'm not sure how much this will help, but here is a portion of my code from index.html:
I used the example code for the jspsych-html-slider-response plugin from https://www.jspsych.org/plugins/jspsych-html-slider-response/ in my task.js: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update: Solved! I went into jspsych-html-slider-response.js and noticed that lines 12 and 17 have I realized that since I was probably using an older version of the plugin, I went ahead and downloaded the latest version of the jspsych plugins and the slider works like a charm :) In case anyone bumps into a similar problem, it may help to use the latest jspsych plugins. |
Beta Was this translation helpful? Give feedback.
Update: Solved! I went into jspsych-html-slider-response.js and noticed that lines 12 and 17 have
html-keyboard-response
instead ofhtml-slider-response
:I realized that since I was probably using an older version of the plugin, I went ahead and downloaded the latest version of the jspsych plugins and the slider works like a charm :)
In case anyone bumps into a similar problem, it may help to use the latest jspsych plugins.