Event.toElement (Property)

The object to which the mouse is moving.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Object object
JavaScript syntax:IEmyEvent.toElement

This property is useful in onMouseOut event handlers. It is a reference to the object that the mouse is just entering when it left an object. That object receives an onMouseOver event. It also knows about the onMouseOut object via it the fromElement property of the Event object.

See also:Event.fromElement

Property attributes:

ReadOnly.