jQuery: target selector
Previous: jQuery [name = "value" ] [name2 = "value2"] selector
Definition and Usage
: Target selector to select the target element by the document URI format identifier represents.
Tip: If the document contains a URI formatted identifier or hash (hash), then: target selector will match the ID and an identifier that matches the element. For example, a given URI http://example.com/#foo, then $ ( "p: target") , will select <p id = "foo"> element.
grammar
$( ":target" )
Previous: jQuery [name = "value" ] [name2 = "value2"] selector