Javascript Reference
Categories: onkeypress

javascript onkeypress Description

@Aug. 17, 2009, 8:57 a.m.
onkeypress Firefox/Netscape/NN 4 IE 4 Chrome/Safari/DOM 3  


Bubbles: Yes; Cancelable: Yes  

Fires after the user presses and releases a keyboard character key. The event sequence is: onkeydown, onkeyup, and onkeypress. The instance of the event object for these events contains information about the character of the pressed key.

Typical Targets

All focusable rendered elements, plus the document object.

Powered by Linode.