The function is executed, when the left mouse button is released, 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("mouseup event", function() { alert("On mouseup"); }); </script> </body> </html>