文件名称:check_form
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:2.11kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
表單驗證
調用為
onBlur=checkform(fname1,fname2,types,value1,value2)
輸入框的驗證
onSubmit subt(this.id)
表單提交時的驗證
兩者需要一起使用
fname1=驗證的項目名
fname2=驗證的副項目名
types=驗證的方式
value1=驗證的值1
value2=驗證的值2
驗證的方式值:(多驗證方式用\"|\"分割 例: 1|2|3)
0.該值不能為空!
1.您輸入太短了!不能小於value1字符
2.您輸入太多了!不能超過value2字符!
3.你的兩次密碼不一至,請驗證!
4.您的輸入與要求不相符,該輸入只能在value1~value2之間!
5.您輸入的E_mail不正確!請重新輸入!
6.只能為數字
*/-calling for the certification form onBlur = checkform (fname1. fname2, types, value1, value2) input box test onSubmit subt (this.id) at the time of submission of the form Taken together need to verify the use of the test fname1 = fname2 = projects were validated by the deputy project were typ es = verifiable means value1 = the value of a certification value2 = 2 certification test the value of values : (multi-authentication "|" segmentation cases : 1 | 2 | 3) 0. The value can not be empty! 1. Your input is too short! value1 not less than two characters. You lose into too many! not more than value2 characters! 3. your password twice to different, Please validation! 4. Your input is not in line with requirements, The importation of only between value1 - value2! 5. E_mail you enter
調用為
onBlur=checkform(fname1,fname2,types,value1,value2)
輸入框的驗證
onSubmit subt(this.id)
表單提交時的驗證
兩者需要一起使用
fname1=驗證的項目名
fname2=驗證的副項目名
types=驗證的方式
value1=驗證的值1
value2=驗證的值2
驗證的方式值:(多驗證方式用\"|\"分割 例: 1|2|3)
0.該值不能為空!
1.您輸入太短了!不能小於value1字符
2.您輸入太多了!不能超過value2字符!
3.你的兩次密碼不一至,請驗證!
4.您的輸入與要求不相符,該輸入只能在value1~value2之間!
5.您輸入的E_mail不正確!請重新輸入!
6.只能為數字
*/-calling for the certification form onBlur = checkform (fname1. fname2, types, value1, value2) input box test onSubmit subt (this.id) at the time of submission of the form Taken together need to verify the use of the test fname1 = fname2 = projects were validated by the deputy project were typ es = verifiable means value1 = the value of a certification value2 = 2 certification test the value of values : (multi-authentication "|" segmentation cases : 1 | 2 | 3) 0. The value can not be empty! 1. Your input is too short! value1 not less than two characters. You lose into too many! not more than value2 characters! 3. your password twice to different, Please validation! 4. Your input is not in line with requirements, The importation of only between value1 - value2! 5. E_mail you enter
(系统自动生成,下载前可以参看下载内容)
下载文件列表
check_form.js
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.