As you know, the onBlur event is fired for an element if this element has focus but loses it.
The onFocusOut event fires in this case, but also fires if any child loses focus.
For example, you have a div with special formatting, because the person is currently editing a field in this area. You could use onFocusOut to turn off this formatting when the focus leaves this div.
Until recently, onFocusOut was only used by IE. If this has changed, it was only recently. Test in FF, Chrome, etc.
Patrick Karcher Oct 13 '11 at 1:46 april 2011-10-13 13:46
source share