hi,
we want to allow only numbers and alphabets in text box on keypress event..
can some help
hi,
we want to allow only numbers and alphabets in text box on keypress event..
can some help
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vishal YelvePosted Oct 20, 2023, 1:13 PM
Hi Murali,
Try this
Amit MohantyPosted Oct 19, 2023, 7:37 AM
Check this to restrict the user from entering special characters and allow only numbers and alphabets in a text box on the
keypressevent:Check here the example: https://jsfiddle.net/a5sjk29L/