Содержание:
.focusout( handler )Возвращает: jQuery
Описание: Устанавливает обработчик потери фокуса элементом или одним из его дочерних.
-
Добавлен в версии: 1.4.focusout( handler )
-
handlerA function to execute each time the event is triggered.
-
-
Добавлен в версии: 1.4.3.focusout( [eventData ], handler )
-
eventDataТип: AnythingAn object containing data that will be passed to the event handler.
-
handlerA function to execute each time the event is triggered.
-
-
Добавлен в версии: 1.0.focusout()
- This signature does not accept any arguments.
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" )
.