The onDblClick event handler specifies what should happen when the mouse is double-clicked within the Document object.
<html> <head> <script language="JavaScript1.2"> <!-- document.ondblclick = myDblClickHandler; function myDblClickHandler(){ alert("The document was double clicked!"); } --> </script> </head> <body> double-click anywhere within this document. </body> </html>