Wednesday, July 15, 2009

If you want to restrict a user from entering non-numeric characters in a textbox, which event will you use?


You can use the following three events, but keypress is more effective,ie it will act even before the character appears in the text box.


1. keydown
2. keypress
3. keyup




www.codecollege.NET

No comments:

Post a Comment