jquery mouseup javascript

JavaScript
$( "#target" ).mouseup(function() {
  alert( "Handler for .mouseup() called." );
});
Source

Also in JavaScript: