.focusin()
.focusin() mouse event is used to bind a function when an element gains focus. The below example shows you a focus that occurs on a mouse move.
Mouse Click on the input fields to get focused. focusin focusin
focusin
Mouse Click on the input fields to get focused.