Allow only Numbers (0-9) using jQuery – Useful Script!

This post shows you how to allow only numbers ie., (0-9) in a textbox. Often this code needed in a Registration form to avoid typing Alphabets.

You can see the demo of this script at the bottom of this post!

See the  jQuery Script:

Here is the usage example:


Here is the demo for you:


About the Author


Software Engineer, Blogger etc., Visit my Youtube channel - <a href="">Click Here</a>

Leave a Reply

Your email address will not be published. Required fields are marked *