← Back to team overview

jessyink-team team mailing list archive

key handling again...

 

OK, I need to see how this is handled in other projects...

I thought a

var charKey = e.charCode || e.keyCode;

would suffice, but obviously not for webkit based browsers.

>From http://lists.macosforge.org/pipermail/webkit-dev/2007-December/002992.html

   Here is a list of changes that were made since Safari 3 release
with Mac OS X 10.5 Leopard:

- Arrow keys no longer result in keypress events.
    These do not correspond to characters, and are now processed in
keydown default event handler.



Follow ups