We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

element.onkeydown Redirect 1

« 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: Sheppy,