I have found this presentation very helpful in understanding the difference between keydown/keypress/keyup: http://www.yuiblog.com/blog/2009/04/27/video-ppk-jsevents/
On Thu, Apr 14, 2011 at 11:08 AM, Tim Down <[email protected]> wrote: > Yes. Use the keydown event instead. Use keypress for detecting text > input and keydown/keyup for detecting general keystrokes. The > following page is a very useful reference for JavaScript key events: > http://unixpapa.com/js/key.html > > Tim -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
