文件名称:check_form
- 所属分类:
- Web服务器
- 资源属性:
- [JavaScript] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 2.11kb
- 下载次数:
- 0次
- 提 供 者:
- k***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
表單驗證
調用為
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 33753122check_form.rar 列表 check_form.js