jQuery mousedown()

The jQuery mousedown() method is used to attach a function to run when a mousedown event occurs i.e. when the left mouse button is pressed down, at the time while the mouse cursor is over the selected element. Syntax: To trigger the mousedown event for selected elements. $(selector).mousedown() To add a function to the mousedown … Read more