Name
HTMLElement.onmousedown: event handler invoked when the user presses a mouse button â DOM Level 0
Synopsis
Function onmousedown
Description
The onmousedown
property of
an HTMLElement object specifies an event-handler function that is
invoked when the user presses a mouse button over the
element.
See Also
Element.addEventListener(
)
, Event
, MouseEvent
; Chapter 17
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.