Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML ondblclick Event Attribute

HTML ondblclick Event Attribute

HTML Event Attributes HTML Event Attributes

Example

Run a script when the mouse is double-clicked

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the ondblclick event attribute


Definition and Usage

The ondblclick attribute is triggered when the mouse is double-clicked on an element.

Note: The ondblclick attribute cannot be used with the following functions: , ,
, , ,