For a single text entry the code (thanks to TomG) is:
jQuery("#"+this.questionId+" .InputText").attr('type', 'number');
This does not work for the 2x2 MT.
Have tried the following with all 4 of the addresses enumerated (1~2, 2~1, 2~2):
jQuery("#"+this.questionId+"#1~1"+" .InputText").attr('type', 'number');
jQuery("#"+this.questionId+"~1~1"+" .InputText").attr('type', 'number');
Been searching for about 4 hours without finding anything.
thanks
Best answer by Anonymous
View original