1.

Explain Mousedown() Method In Jquery?

Answer»

The mousedown() method ATTACHES an event handler function to an HTML element. The function is executed, when the left MOUSE button is PRESSED down, while the mouse is over the HTML element:

EXAMPLE: $("#p1").mousedown(function(){ alert("Mouse down over p1!"); });

The mousedown() method attaches an event handler function to an HTML element. The function is executed, when the left mouse button is pressed down, while the mouse is over the HTML element:

Example: $("#p1").mousedown(function(){ alert("Mouse down over p1!"); });



Discussion

No Comment Found