Share via


onmouseout event

[This documentation is preliminary and is subject to change.]

Fires when the user moves the mouse pointer outside the boundaries of the object.

HTML 4.01 Specification, Section 18.2.3

Syntax

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

Standards information

Event information

Synchronous No
Bubbles No
Cancelable No

Event handler parameters

Remarks

When the user moves the mouse over an object, one onmouseover event occurs, followed by one or more onmousemove events as the user moves the mouse pointer within the object. One onmouseout event occurs when the user moves the mouse pointer out of the object.

Initiates any action associated with this event.

To invoke this event, do one of the following:

  • Move the mouse pointer out of an object.

The pEvtObj parameter is required for the following interfaces:

See also

Reference

onmousewheel

onmousedown

onmousemove

onmouseover

onmouseup

 

 

Build date: 1/23/2012