[jQuery] Re: Filtering charachter input with jquery/javascript

2008-05-16 Thread Giovanni Battista Lenoci
Dan G. Switzer, II ha scritto: Giovanni, You need to use the keypress event if you truly want to know which character was pressed. However, IE6 doesn't register the keypress event for certain non-printable characters (like the backspace, the arrow keys, etc.) So, for IE6 you need to capture

[jQuery] Re: Filtering charachter input with jquery/javascript

2008-05-15 Thread Dan G. Switzer, II
Giovanni, You need to use the keypress event if you truly want to know which character was pressed. However, IE6 doesn't register the keypress event for certain non-printable characters (like the backspace, the arrow keys, etc.) So, for IE6 you need to capture those characters either on keydown