TOC PREV NEXT INDEX

domref



window.onkeypress


An event handler for the keypress event on the window.

Syntax

window.onkeypress = funcRef
 

Parameters

funcRef is a reference to a function.

Example

window.onkeypress = doFunc;
 

Notes

The keypress event is raised when the user presses and releases any key on the keyboard.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX