This topic has not yet been rated - Rate this topic

ondblclick event

Fires when the user double-clicks the object.

HTML 4.01 Specification, Section 18.2.3

Syntax

HTML Attribute <element ondblclick = "handler(event)">
Event Property object.ondblclick = handler;
attachEvent Method object.attachEvent("ondblclick", handler)
addEventListener Method object.addEventListener("dblclick", handler, useCapture)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

Remarks

The order of events leading to the HTMLStyleElementEvents2::ondblclick event is HTMLStyleElementEvents2::onmousedown, HTMLStyleElementEvents2::onmouseup, HTMLStyleElementEvents2::onclick, HTMLStyleElementEvents2::onmouseup, and then HTMLStyleElementEvents2::ondblclick. Actions associated with any of these events are executed when the HTMLStyleElementEvents2::ondblclick event fires.

Initiates any action that is associated with the event.

To invoke this event, do one of the following:

  • Click the left mouse button twice in rapid succession over an object. The user's double-click must occur within the time limit specified by the user's system.

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.