Skip to content Skip to sidebar Skip to footer

Validation Of Textbox Only Allowing Numbers And No Special Characters Or Alpha

I reedited my question from earlier but didn't see my new question get posted, so I'm reposting. I apologize. I'm very new to programming and in desperate need of help. I'm using

Solution 1:

you can use a regular expression to check it

var reg = /^\d+$/;

Post a Comment for "Validation Of Textbox Only Allowing Numbers And No Special Characters Or Alpha"