jQuery Tutorial Tutorials - jQuery :focus selector

:focus selector

The jQuery :focus selector is used to select all elements that are currently focused.

jQuery :focus selector Syntax

$(':focus')

jQuery :focus selector Examples

In below example,We will hightlight whatever that are focused.

Try now

Date:2019-08-19 01:56:40 From:www.Lautturi.com author:Lautturi