The Internet Explorer Event Model: New Keyboard Events - Doc JavaScript | WebReference

The Internet Explorer Event Model: New Keyboard Events - Doc JavaScript


New Keyboard Events

Internet Explorer 4.0x's new keyboard events are identical to those in Navigator 4.0x. Therefore, refer to Column 9's "New Keyboard Events" page for more information on the keydown, keyup, and keypress events. However, due to differences in the event object, you must use the following properties to discover what modifier keys were down when a key was pressed:

The keyCode property of the event object holds the ASCII value of the character that was pressed. In our next column we'll show you how to put these properties and events to work.

http://www.internet.com


Created: December 30, 1997
Revised: December 30, 1997

URL: http://www.webreference.com/js/column10/newkeyboardevents.html