JavaScript key handling and browser compatibility
问题 I'm working on key handling in Javascript. I have done some research and I'd like to know whether I have a correct understanding of key handling. KeyDown/KeyUp Event The key down and key up events are supported by IE7+ and Firefox 3.5+ I didn't check the earlier versions of the browsers, but I guess that they also support these events. Is it correct to say that each key on the keyboard will always have a keycode. CharCode CharCode value is available on the keypress.Majority of the keys will