document.ondblclick : ondblclick : Document JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Document » ondblclick »

 

document.ondblclick







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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Document
» ondblclick