[七 八] Verification JS

xiaoxiao2021-03-06  39

Function Valikey (OBJ) {// Character Enter Validation IF ((Window.Event.Keycode <97 || WINDOW.EVENT.KEYCODE> 122) && (Window.Event.Keycode <48 || WINDOW.Event.KeyCode> 57) && (Window.Event.Keycode <65 || WINDOW.EVENT.KEYCODE> 90)) {WINDOW.Alart ("Please Input Az or 0-9 Chars!"); Window.Event.ReturnValue = False; Obj. FOCUS ();}} Function Valiemail (OBJ) {// Mail Address Verification VAR stres = new string (obj.value); if ("@", 0) == -1 || stretmail.indexof (".", 0) == -1 || Strength <5)) {WINDOW.Alert ("e-mail address error!"); Obj.focus (); obj.select ();}} = ============== Call:

转载请注明原文地址:https://www.9cbs.com/read-78637.html

New Post(0)