/

HTML / CSS / JavaScript Tutorial

JavaScript DOM MouseEvent property: button

[this page | pdf | back links]

The button property of MouseEvent objects within the JavaScript DOM (i.e. events triggered by an action with the mouse) returns which mouse button was pressed.

 


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


Desktop view | Switch to Mobile