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
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading