Sam,

>Anyone else noticing this?  Here is an example code, works fine in
>firefox but fails in IE.
>
>$(window).keydown(function(event){
>       alert(event.keyCode);
>});

First, do it at the document level. Second, the keydown event doesn't
capture all keystrokes in IE/Safari. Keys like enter, tab, arrow keys, etc
need to be captured with the keypress event.

-Dan

Reply via email to