Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("input").keypress(function(e){
- var charCode = !e.charCode ? e.which : e.charCode;
- if(/* Test for special character */ )
- e.preventDefault();
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement