:focus
The jQuery :focus selector is used to select all elements that are currently focused.
$(':focus')
In below example,We will hightlight whatever that are focused.
Try now