Disallow special characters by Class Name using jQuery
<input name="myInput" type="text" class="my-class-name">
In my HTML form, I want to set disallow special characters for some input fields by Class Name using jQuery. I can’t access any special character. If the user enters any special character it is automatically removed from the input. How can I disallow special characters in HTML input using jQuery?
Question and answer is powered by AnsPress.io