I have the following code snippets
$(document).mousedown(function(event) {
doSomething();
}
I can capture the mousedown
event successfully.
I am trying to do the following:
- Capture the first
mousedown
event - I want to detect if the user is still holding the mouse down so I can do something else.