TOC PREV NEXT INDEX

Put your logo here!


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.


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX