MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

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

 Last updated by: teoli,