Client side validations become very important when submitting client entered data on a WebForm. Now here is case where we want check if a particular field accepts only numbers, and it should not allow other characters as input. The validation will be done at the client side before the post back event is called.
http://www.encodedna.com/2012/12/JavaScript-accept-only-numbers-textbox.htm
No comments:
Post a Comment