ondblclick
The ondblclick property returns the onDblClick event handler code on the current element.
Syntax
event handling code = element.ondblclick
Example
// <img src="pawn.gif" onDblClick="movePawn(this);" /> function pawnClick() { i = document.getElementById("img1"); alert(i.ondblclick); } // alerts: function anonymous(event) { movePawn(this) }
Notes
The dblclick event is raised when a user double-clicks on an element.
Specification
Netscape Communications http://developer.netscape.com |