-Challenge User want to turn a text grid question into a number grid
-You can use question property instead of using java script. -Code var maxSQ = quest.questions.length;
for(var i = 0; i maxSQ; i++)
quest.questions[i].answertype = 2;