How to cancel a keypress event in C# as well as javascript and jquery

Posted by Shantanu Gupta on Stack Overflow See other posts from Stack Overflow or by Shantanu Gupta
Published on 2010-04-09T20:40:57Z Indexed on 2010/04/09 20:53 UTC
Read the original article Hit count: 245

Filed under:
|
|
|
|

I want to cancel out key press event when my textarea field gets n number of characters from user. At that point i dont want user to enter any more characters. What to do?

© Stack Overflow or respective owner

Related posts about c#

Related posts about JavaScript