Deny entering special character in textbox using jquery -
How can I deny the user by entering special characters in the text box using jquery?
Special characters are like this? * [Or]
I think you get it only by using javascript
Key in the text box's keypay function, call
function alpha pneumatic (IE, IELFonally) {// Copyright 1999 Idaux, Inc. Http://www.idocs.com var key = [e. Kikode || E.H.H.]; Var KITCHER = String.lightcode ([E.C.code || EHHI]]; Catcher = Insect. Lower case (); If (isAlphaonly == 'true') checkString = "abcdefghijklmnopqrstuvwxyz"; Else check string = "abcdefghijklmnopqrstuvwxyz0123456789"; If ((key == zero) || (key == 0) || (key == 8) || (key == 9) || (key == 13) || (key == 27) return truth; And if (((Checkstring). Indexoff (kitter)> 1)) true return; Second false return; }
Comments
Post a Comment