JavaScript Tutorial/Document/ondblclick
Версия от 18:52, 25 мая 2010; (обсуждение)
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>