Skip to content

Instantly share code, notes, and snippets.

View ian-a-b's full-sized avatar

Ian Blood ian-a-b

  • Lawrence Twp, NJ
View GitHub Profile
@13bzhang
13bzhang / qualtrics_text_textbox.js
Created April 8, 2016 01:51
Qualtrics text before and after textbox
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place Your Javascript Below This Line*/
var inputs = $(this.getQuestionContainer()).select('input[type="text"]');
for (var i = 0; i < inputs.length; i++) {
var input = inputs[i];
$(input).insert({before: 'In '});
$(input).insert({after: ' years'});