哪位给我看看,submit提交后什么反应也没有javascript的. <form action="" METHOD=POST>……</form> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 老兄!你从哪里考来的代码?太不完整了吧!人家原来用的是checkbox,你改成了input,javascript当然也要改了。我帮你把检查答案的函数改了一下,答案应该是对的吧 :)function calculate(theForm){ var storea=0; if(theForm.q1.value=="15"){storea+=13;} if(theForm.q2.value=="6"){storea+=13;} if(theForm.q3.value=="2C"||theForm.q3.value=="2c"){storea+=10;} if(theForm.q4.value=="+,+"){storea+=13;} if(theForm.q5.value=="E"||theForm.q5.value=="e"){storea+=13;} if(theForm.q6.value=="23"){storea+=13;} if(theForm.q7.value=="land"){storea+=13;} if(theForm.q8.value=="1"){storea+=13;} if(theForm.q9.value=="18"){storea+=13;} if(theForm.q10.value=="4"){storea+=13;} return confirm("谢谢你参加智商测试!\n\n"+ "你的智商为:"+storea+"\n\n"+ "您所用的时间:" +i+"\n"+ "===================================\n70- --弱智\n"+ "70-89 --智力低下\n"+ "90-99 --智力中等\n"+ "100-109--智力中上\n"+ "110-119--智力优秀\n"+ "120-129--智力非常优秀\n"+ "130-139--智力非常非常优秀\n"+ "140+ --天才");}还有个显示时间的函数,你自己改改看吧 dede采集入库时能不能加个判断相同标题的符加表字段的内容是否相同? 百分求助discuz的文件下载问题~熟悉discuz的进,大家帮忙,谢谢 关于向多个用户发邮件 请给我一个学习php session 的教材 或 网页 一个关于 Apache URL Rewrite 的问题。急!!! php中pdf库的问题 我对PHP版要提建议.... [求助]再问一个php的问题 初学者的一个邮箱地址的正则问题! 有thinkphp3.2的一些小问题,请教各位大神们 请问是不是有个redfox可以帮助使用mysql?我找不到,哪有?谢谢,马上结帖 怎么用 php读 access.log
function calculate(theForm){
var storea=0;
if(theForm.q1.value=="15"){storea+=13;}
if(theForm.q2.value=="6"){storea+=13;}
if(theForm.q3.value=="2C"||theForm.q3.value=="2c"){storea+=10;}
if(theForm.q4.value=="+,+"){storea+=13;}
if(theForm.q5.value=="E"||theForm.q5.value=="e"){storea+=13;}
if(theForm.q6.value=="23"){storea+=13;}
if(theForm.q7.value=="land"){storea+=13;}
if(theForm.q8.value=="1"){storea+=13;}
if(theForm.q9.value=="18"){storea+=13;}
if(theForm.q10.value=="4"){storea+=13;}
return confirm("谢谢你参加智商测试!\n\n"+
"你的智商为:"+storea+"\n\n"+
"您所用的时间:" +i+"\n"+
"===================================\n70- --弱智\n"+
"70-89 --智力低下\n"+
"90-99 --智力中等\n"+
"100-109--智力中上\n"+
"110-119--智力优秀\n"+
"120-129--智力非常优秀\n"+
"130-139--智力非常非常优秀\n"+
"140+ --天才");}
还有个显示时间的函数,你自己改改看吧