JavaScript Tutorial/Document/onmouseup
document.onmouseup
The onMouseUp event handler specifies what should happen when the mouse button is pressed and then released within the Document object.
<source lang="javascript">
<html>
<head> <script language="JavaScript1.2"> </script> </head> <body> press the mouse button and then release it </body> </html></source>