/

HTML / CSS / JavaScript Tutorial

JavaScript DOM MouseEvent property: ctrlKey

[this page | pdf | back links]

The ctrlKey property of MouseEvent objects within the JavaScript DOM (i.e. events triggered by an action with the mouse) returns true if the ‘CTRL’ key was pressed, otherwise returns false.

 


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


Desktop view | Switch to Mobile