focus
UK[ˈfəʊkəs] US[ˈfoʊkəs]
vt.& vi. (to make) focus, (to make) gather; adjust (lens, eyes) ) focus [focal length] in order to see clearly
vt. adjust the focal length (of the eye or lens); focus (the beam on); focus, gaze; concentrate
n. focus; image clarity; center (of activity, attention, interest, etc.); [medicine] focus, disease
jquery focus() method syntax
Function:When an element gains focus, the focus event occurs.
Trigger focus event syntax: $(selector).focus()
##Bind the function to the focus event syntax: $ (selector).focus(function)
Parameters:
Description | |
Optional. Specifies the function to be run when the focus event occurs. |