Description: <script language= javascript >
function loginYZ(theform)
{
if(theform.userName.value == ||theform.userName.value == null)
{
alert( 用户名不能为空 )
theform.userName.focus()
return false
}
if(theform.userPw.value == ||theform.userPw.value == null)
{
alert( 密码不能为空 )
theform.userPw.focus()
return false
}
if(isNaN(theform.userPw.value))
{
alert( 密码必须为数字 )
theform.userPw.focus()
return false
}
var pw = theform.userPw.value
if(pw.length != 6)
{
alert( 密码必须为6位数字 )
theform.userPw.focus()
return false
}
if(theform.userType.value == ||theform.userType.value == null)
{
alert( 登录身份不能为空 )
theform.userType.focus()
return false
}
}
function register()
{
location.replace( zhuce.jsp )
}
</script>
To Search:
File list (Check if you may need any files):
login.jsp