I know \'mousedown\' is when user press the mouse, \'mouseup\' is when user release the mouse. But I want to listen the event after user press the mouse and hold it until it
From jquery.com :
HTML :
Press mouse and release here.
Script:
$("p").mouseup(function(){ $(this).append('Mouse up.'); }).mousedown(function(){ $(this).append('Mouse down.'); });
Full url : http://api.jquery.com/mousedown/