jQuery mousedown() method

jQuery mousedown() method


On pressing the left mouse button of the matched element, the mousedown event triggers. It gets fired by the jQuery mousedown() method.


The following is the syntax,

The following is the parameter,

  • func: When mousedown event is triggered, this function runs. This is optional parameter.


The following is the output,

On pressing and releasing the mouse button on any of the <h3> heading, the mouseup and mousedown event triggers respectively,

jQuery keyup() method
jQuery mouseup() method
Studyopedia Editorial Staff
Studyopedia Editorial Staff

We work to create free tutorials for all.

No Comments

Post A Comment