文件名称:login
-
所属分类:
- 标签属性:
- 上传时间:2015-12-03
-
文件大小:1.46kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
自己敲得 希望你们看看 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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.