mousedown event

The function is executed, when the left mouse button is pressed down, while the mouse is over the HTML element:

<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
</head>
<body>
<div>Click me to hide</div>
<script>
$("div").on("mousedown", function() {
  alert("On mousedown");
});
</script>
</body>
</html>