Is it possible to block a certain character or group of characters from entering into text box or an

Posted by Param-Ganak on Stack Overflow See other posts from Stack Overflow or by Param-Ganak
Published on 2010-03-23T14:21:26Z Indexed on 2010/03/23 14:23 UTC
Read the original article Hit count: 161

Filed under:

Hello friends!

I have a text input field like text box or text area. I want to prevent the user from entering certain character or a group of characters. That is for example if I dont want # * @ and numbers from 0-9 these characters. So Whenever user press any of the above character key then that character should not appear in to an input field. It means directly blocking that character.

Is this possible in Jquery? Please give me some guidelines to achive it.

Thank You

© Stack Overflow or respective owner

Related posts about jQuery