onmousedownonmousedown*
*Contents  *Index  *Topic Contents
*Previous Topic: onload
*Next Topic: onmousemove

onmousedown

Description

Fires when the user presses a button on a pointer device, such as the mouse.

Remarks

The event ordering for mouse-related events is:

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

This event will bubble. Events that bubble can be handled on any parent element of the object that fired the event.

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, 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

See Also

ondblclick, onmousemove, onmouseup


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