I tried searching but unsure of what terms to look for.
I\'m using jQuery and would like to use the keypress event in a textbox, but prevent all non-printable charac
Seems to work just fine with jQuery 1.4.2, FF, IE, Chrome.
To delve into the mess that is JS keyboard event handling, see: JavaScript Madness: Keyboard Events
Updated to filter ctrl, meta & alt key combinations as per Daniel's comment.