But I want to allow the user to enter the special characters in the text field.
The alert message will be shown only when the form is submitted.
As i understand, keyCode checks the key that is typed.
Can u suggest with unicode?
Thanks
User Profile
Collapse
-
special character check in text box
Hi guys,
I want to check whether the user has entered any special characters in a text box.
If the user enters, i want to display an alert message stating that he cant enter a special character (like Ç).
I have written a code wherein i am specifying the list of characters that are not allowed.
It would be better if i can give a list of characters that are allowed instead of list of characters...
No activity results to display
Show More
Leave a comment: