为什么不支持这个属性!!!
<html>
<head>
<title>编写</title>
<script language="vbscript">
Sub checkdata()
<!--
if form.username.value=empty then
window.alert "用户名一定要填写哦..."
exit Sub
end if
for i=1 to len(form.username.value)
c=lcase(mid((form.username.value),i,1))
if instr("abcdefghijklmnopqrstuvwxyz0123789_",c)=0 then
window.alert "用户名输入不符合规范!"
exit sub
exit for
end if
next
if form.password.value=empty then
window.alert "密码一定要填写哦..."
exit Sub
end if
form.Submit
End Sub
-->
</script>
<body>
<form method="post" action="addmember.asp" name="form">
<table width="450" align=center bgcolor="#0066cc">
<tr align=center><td><font color="white">用户名:</font></td>
<td><input type="text" name="username" size="20"></td>
</tr>
<tr align=center><td><font color="white">密码:</font></td>
<td><input type="password" size="20" name="password"></td>
</tr>
<tr align=center><td>
<input type="button" name="submit" value="确 定" onclick="checkdata">
<input type="reset" name="reset" value="重 置">
</td></tr>
</table>
</form>
</body>
</html>
我提交的时候,就会弹出不支持此属性的警告kuai