Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

Element.onmousedown Redirect 1

Summary

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

DOM Level 0. Not part of specification.

Document Tags and Contributors

 Last updated by: Sheppy,