Difference between revisions of "Number grid"

From Catglobe Wiki
Jump to: navigation, search
(New page: -Challenge User want to turn a text grid question into a number grid -You can use question property instead of using java script. <br> Image:NumberGrid_property.JPG -Code var maxS...)
 
Line 5: Line 5:
 
<br>
 
<br>
 
[[Image:NumberGrid_property.JPG]]  
 
[[Image:NumberGrid_property.JPG]]  
 
+
<br>
 
-Code
 
-Code
 
var maxSQ = quest.questions.length;
 
var maxSQ = quest.questions.length;

Revision as of 09:21, 2 March 2009

-Challenge User want to turn a text grid question into a number grid

-You can use question property instead of using java script.
NumberGrid property.JPG
-Code var maxSQ = quest.questions.length;

for(var i = 0; i maxSQ; i++)

 quest.questions[i].answertype = 2;