Element.onkeydown

« DOM Reference

Summary

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.

Specification

Not part of specification.

Document Tags and Contributors

Contributors to this page: teoli
Last updated by: teoli,