Javascript Reference
Categories: event

javascript event fromElement

@March 15, 2008, 1:22 a.m.
fromElementFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a

Read-only

Returns a reference to the object where the cursor was located just prior to the onMouseOver or onMouseOut event.

 
Example
 
if (evt.fromElement.id == "lowerLevel") {
    ...
}
 
Value

Element object reference.

 
Default

None.


Powered by Linode.