jquery - validate characters on keypress?
Posted
by TwixxyKit
on Stack Overflow
See other posts from Stack Overflow
or by TwixxyKit
Published on 2010-05-11T16:39:24Z
Indexed on
2010/05/11
16:44 UTC
Read the original article
Hit count: 273
I have a form text field that I want to allow only numbers and letters in. (i.e., no #$!, etc...) Is there a way to throw up an error and prevent the keypress from actually outputting anything if the user tries to use any character other than numbers and letters? I've been trying to find a plugin, but haven't really found anything that does this...
© Stack Overflow or respective owner