I am creating a web application where I need to create a form. This form has some fields like input box and text area. These two fields only need to accept only English keyboards characters.
I need to accepts only: A-Za-z0-9!@#$%^&():"';<>,.?/|*
How can I do it?
This is my form:
$(function(){
$(".english_only").on("change", function(){
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<form>
<input type="text" class="english_only"/>
<textarea class="english_only"></textarea>
</form>