Visit Mozilla.org

DOM:element.onkeypress

From MDC

« Gecko DOM Reference

Contents

[edit] Summary

The onkeypress property sets and returns the onKeyPress event handler code for the current element.

[edit] Syntax

element.onkeypress = event handling code

[edit] Notes

The keypress event is raised when the user presses a key on the keyboard.

[edit] Specification

Not part of specification.