jQuery | mousedown() with Examples
The mousedown() method is an inbuilt method in jQuery which works when the left mouse button is pressed down over the selected element.
Parameters: This function accepts single parameter function which is optional. It is used to specify the function to run when the mousedown event is called.
Return Value: This method returns the selected element with the change.
Below example illustrates the mousedown() method in jQuery:
Before click on the paragraph element:
After click on the paragraph element: