.focusout( handler )Возвращает: jQuery

Описание: Устанавливает обработчик потери фокуса элементом или одним из его дочерних.

This method is a shortcut for .on( "focusout", handler ) when passed arguments, and .trigger( "focusout" ) when no arguments are passed.

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).

This event will likely be used together with the focusin event.

Дополнительные замечания:

  • As the .focusout() method is just a shorthand for .on( "focusout", handler ), detaching is possible using .off( "focusout" ).

Примеры использования