Widget:IMPROVEScore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
var score = 0; | var score = 0; | ||
if(document.forms["IMPROVEScore"]["input1"].checked == 1){ | if(document.forms["IMPROVEScore"]["input1"].checked == 1){ | ||
score += 3; | score += 3.0; | ||
} | } | ||
if(document.forms["IMPROVEScore"]["input2"].checked == 1){ | if(document.forms["IMPROVEScore"]["input2"].checked == 1){ | ||
score += 2; | score += 2.0; | ||
} | } | ||
if(document.forms["IMPROVEScore"]["input3"].checked == 1){ | if(document.forms["IMPROVEScore"]["input3"].checked == 1){ |