Javascript Reference
Categories: ondeactivate

javascript ondeactivate Description

@June 30, 2008, 12:48 p.m.
ondeactivate Firefox/Netscape/NN n/a IE 5.5(Win) Chrome/Safari/DOM n/a  

 

Bubbles: Yes; Cancelable: No  

Fires after an object has yielded activation to another object because the user clicked on another element, tabbed to another element, or a script invoked the setActive( ) or focus( ) method of another element. If an element has focus and is the active element, the following event sequence fires en route to losing focus: onbeforedeactivate, ondeactivate, and onblur. To prevent an element from deactivating or losing focus, cancel the companion onbeforedeactivate event.

 
Typical Targets

All rendered elements, plus the document and window objects.


Powered by Linode.