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

Wednesday, July 15, 2009


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

0 comments

Post a Comment

LinkWithin

Blog Widget by LinkWithin

Recommended Books