

I want to add the '%' sign after a free text box.
Last week I managed to add units after free text boxes using this script.
The same java script doesn't appear to be working when I tried to do it for a new question today. Can anyone assist?
Qualtrics.SurveyEngine.addOnload(function()
{
var inputs = $(this.getQuestionContainer()).select('input[type="text"]');
for (var i = 0; i < inputs.length; i++) {
var input = inputs[i];
$(input).insert({after: ' %'});
}
});
Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/
});
Qualtrics.SurveyEngine.addOnUnload(function()
{
/*Place your JavaScript here to run when the page is unloaded*/
});
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.