mozilla

GlobalEventHandlers.onkeydown

The onkeydown property returns the onKeyDown event handler code on the current element.

Syntax

element.onkeydown = event handling code

Notes

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

Specifications

Not part of specification.

Document Tags and Contributors

Last updated by: teoli,
Hide Sidebar