This is the Unicode code point value and not the character code. This means the value is numeric.
You can also use the mask values to determine if any of the modifier keys were held down. Here is a list of the modifier key mask values:
See also: | Event.which, onKeyDown |
Prev | Home | Next |
Event.initEvent() | Up | Event.layerX |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |