ondblclickondblclick*
*Contents  *Index  *Topic Contents
*Previous Topic: ondatasetcomplete
*Next Topic: ondragstart

ondblclick

Description

Fires when the user clicks twice over an object.

Return Value

Returns TRUE or FALSE. Returning FALSE cancels the default action.

Remarks

The ondblclick event occurs when the user clicks twice (presses and releases the left mouse button and then presses and releases it again) over an object. The two clicks must occur within the time limit specified by the system's double-click speed setting. This event will bubble. Events that bubble can be handled on any parent element of the object that fired the event.

The order of events leading to the ondblclick event is:

  1. onmousedown
  2. onmouseup
  3. onclick
  4. onmouseup
  5. ondblclick

Applies To

A, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, H1, H2, H3, H4, H5, H6, HR, I, IMG, INPUT, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP, document


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.