这些代码写出来以后 无论如何调试 我用IIS打开后 点提交都无任何反应 求教各位高手指点下。。。顺便 请问有那位收徒弟或者需要免费苦力的吗?
<html> 
<head> 
<title>用戶注冊</title> 
<script language="vbscript"> 
function check() 
  name=from1.user_name.value 
  password=from1.user_password.value 
  repassword=from1.user_repassword.value 
  if name="" or len("name")>15 then 
  msgbox "用户名输入错误,请检查用户名长度",48,"错误信息" 
 elseif password="" then 
 msgbox "用户密码不能为空",48,"错误信息" 
 elseif password<>repassword then 
 msgbox "两次输入的密码不符",48,"错误信息" 
 else 
 form1.submit()
 end if 
 end function 
</script> 
</head> 
<body> 
<form name="form1" method="post" action=""> 
<table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#cccccc"> 
<tr bgcolor="#ffffff"> 
<td width="156" height="25"><div align="center"><span class="style1">用户名:</span></div></td> 
<td width="341" height="25"><input name="user_name" type="text" id="user_name"></td> 
</tr> 
<tr bgcolor="#ffffff"> 
<td height="25"><div align="center"><span class="style1">密码:</span></div></td> 
<td height="25"><input name="user_password" type="password" id="user_password"></td> 
</tr> 
<tr bgcolor="#ffffff"> 
<td height="25"><div align="center"><span class="style1">密码确认:</span></div></td> 
<td height="25"><input name="user_repassword" type="password" id="user_repassword"></td> 
</tr> 
<tr bgcolor="#ffffff"> 
<td height="25"><div align="center"><span class="style1">电子油箱:</span></div></td> 
<td height="25"><input name="user_email" type="text" id="user_email"></td> 
</tr> 
<tr bgcolor="#ffffff"> 
<td height="25"><div align="center"><span class="style1"></span></div></td> 
<td height="25"><input name="from1" type="submit" value="提交" onclick="vbscript:check()">  &nbsp;&nbsp;<input type="reset" value="清空"></td></tr> 
</table> 
</form> 
</body> 
</html>