blur vs focusout — any real differences? [duplicate]

The documentation for focusout says (emphasis mine):

The focusout event is sent to an element when it, or any element
inside of it
, loses focus. This is distinct from the blur event in
that it supports detecting the loss of focus on descendant elements (in
other words, it supports event bubbling).

The same distinction exists between the focusin and focus events.

Leave a Comment