/

HTML / CSS / JavaScript Tutorial

JavaScript DOM KeyboardEvent property: key

[this page | pdf | back links]

The key property of KeyboardEvent objects within the JavaScript DOM (i.e. events triggered by an action with the keyboard) returns the key value of the key represented by the event.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile