check_form
代码说明:
表單驗證 調用為 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 )
下载说明:请别用迅雷下载,失败请重下,重下不扣分!