Skip to content

Instantly share code, notes, and snippets.


Ian Blood ian-a-b

  • Lawrence Twp, NJ
View GitHub Profile
13bzhang / qualtrics_text_textbox.js
Created Apr 8, 2016
Qualtrics text before and after textbox
View qualtrics_text_textbox.js
/*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'});