TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX