spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column10


New Keyboard Events

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

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:

  • altKey
  • ctrlKey
  • shiftKey

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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


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

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