文件名称:login
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2015-12-03
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- li***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
自己敲得 希望你们看看 jsp 的 - <scr ipt language= javascr ipt >
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 )
}
</scr ipt>
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 )
}
</scr ipt>
(系统自动生成,下载前可以参看下载内容)
下载文件列表
login.jsp