$(document).keydown(myOnKeyDownFunction);
I notice that in Chrome 10.0 and Firefox 3.6 (as in Ubuntu), after registering a listener for keydown, the callback starts once immediately, followed by a short delay, and then starts again several times until the key is released. For my current project, it makes my life easier ... but can I expect it to behave like it does for all browsers?
source
share