document.ondblclick : ondblclick « Document « JavaScript Tutorial






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>








14.21.ondblclick
14.21.1.document.ondblclick