The onmousedown property returns the onmousedown event handler code on the current element.
Syntax
element.onmousedown = eventHandler
Notes
The mousedown event is raised when the user presses the mouse button.
Specification
| Specification | Status | Comment |
|---|---|---|
| WHATWG HTML Living Standard The definition of 'onmousedown' in that specification. |
Living Standard |