jQuery: The Write Less, Do More JavaScript Library

Events/mousedown

From jQuery JavaScript Library

Jump to: navigation, search

« Back to Events

mousedown( fn )

Binds a function to the mousedown event of each matched element.
The mousedown event fires when the pointing device button is pressed over an element.
Arguments:
fnFunction
A function to bind to the mousedown event on each of the matched elements.
function callback(eventObject) {
  this; // dom element
}