TOC PREV NEXT INDEX

domref



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

Not part of specification.


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX