Easy Tutorial
❮ Css Offset Html Outerwidth ❯

jQuery :target Selector

jQuery Selectors

Definition and Usage

The :target selector selects the target element represented by the formatted identifier of the document's URI.

Tip: If the document's URI contains a formatted identifier or hash, the :target selector will match the element whose ID matches the identifier. For example, given the URI http://example.com/#foo, $("p:target") will select the <p> element with the ID "foo".

❮ Css Offset Html Outerwidth ❯