Skip to content

Instantly share code, notes, and snippets.

View thomasschubert's full-sized avatar

Thomas Schubert thomasschubert

View GitHub Profile
@robinvanemden
robinvanemden / QualtricsQuestionJs.js
Created November 3, 2014 18:07
Adding jsPsych to Qualtrics
Qualtrics.SurveyEngine.addOnload(function() {
//Retrieve the Response ID from the hidden Qualtrics Session ID value
var responseIdFromSessionID = jq('#SessionID').val().replace("SS_", "R_");
//Retrieve Qualtrics object and save in qthis
var qthis = this;
//Hide buttons - can also (even better) be hidden in the CSS
jq('#Buttons').css("display", "none");