青蛙 该用户已被删除
|
测试下你的IQ,做完后留下成绩~~
function calculate(theForm){
var storea=0;
if(theForm.q1.value=="m"||theForm.q1.value=="M"){storea+=6;}
if(theForm.q2.value=="15"){storea+=6;}
if(theForm.q3.value=="8"){storea+=6;}
if(theForm.q4.value=="6"){storea+=6;}
if(theForm.q5.value=="5"){storea+=6;}
if(theForm.q6.value=="4"){storea+=6;}
if(theForm.q7.value=="1"){storea+=6;}
if(theForm.q8.value=="2"){storea+=6;}
if(theForm.q9[1].checked){storea+=6;}
if(theForm.q10[3].checked){storea+=5;}
if(theForm.q11[2].checked){storea+=5;}
if(theForm.q12[0].checked){storea+=5;}
if(theForm.q13[2].checked){storea+=5;}
if(theForm.q14[3].checked){storea+=5;}
if(theForm.q15[2].checked){storea+=5;}
if(theForm.q16[2].checked){storea+=5;}
if(theForm.q17[1].checked){storea+=5;}
if(theForm.q18[3].checked){storea+=5;}
if(theForm.q19[3].checked){storea+=5;}
if(theForm.q20[3].checked){storea+=5;}
if(theForm.q21[2].checked){storea+=5;}
if(theForm.q22[2].checked){storea+=5;}
if(theForm.q23[3].checked){storea+=5;}
if(theForm.q24[1].checked){storea+=5;}
if(theForm.q25[0].checked){storea+=5;}
if(theForm.q26[0].checked&&theForm.q26[3].checked){storea+=5;}
if(theForm.q27[1].checked&&theForm.q27[2].checked){storea+=5;}
if(theForm.q28[0].checked&&theForm.q28[3].checked){storea+=5;}
if(theForm.q29[1].checked&&theForm.q29[3].checked){storea+=5;}
if(theForm.q30[3].checked){storea+=5;}
if(theForm.q31[2].checked){storea+=5;}
if(theForm.q32[1].checked){storea+=5;}
if(theForm.q33[2].checked){storea+=5;} |
|