SyntaxFix
Write A Post
Hire A Developer
Questions
this is an example that prevent the user from typing the character "a"
$(function() { $('input:text').keydown(function(e) { if(e.keyCode==65) return false; }); });
key codes refrence here: http://www.expandinghead.net/keycode.html