jQuery focusin() Method
jQuery focusin() Method
The focusin event is used to occur when an element or its child element gets focus. The focusin() method allows attaching a function to run when a focus event occurs on the element or any elements inside it. The focusin() method triggers if any of its child elements get focus.
Syntax:-
Its syntax is:- $(selector).focusin(function)
Further Explanation:-
Parameter | Description |
---|---|
function | Optional. Specifies the function to run when the blur event occurs |