how to use focusin, focusout and blur event in jquery - jquery tutorial
У вашего броузера проблема в совместимости с HTML5
Definition and Usage. The focus event occurs when an element gets focus (when selected by a mouse click or by "tab-navigating" to it). The focus method triggers the focus event, or attaches a function to run when a focus event occurs. Tip: This method is often used together with the blur method
This method is a shortcut for .on blur handler in the first two variations, and .trigger( "blur" ) in the third. The blur event is sent to an element when it loses focus. Originally, this event was only applicable to form elements, such as inpu . In recent browsers, the domain of the event has been extended to include all
Definition and Usage. The focusin event occurs when an element (or any elements inside it) gets focus. The focusin() method attaches a function to run when a focus event occurs on the element, or any elements inside it. Unlike the focus method, the focusin method also triggers if any child elements get focus