jQuery: focus selector
Definition and Usage
: Focus selector to select the current element has focus.
Tip: This selection is often used in conjunction with a name tag or another selector, so if you do not use, the selection will be equivalent to ( "*: focus").
grammar
$(":focus")