control-freak-ide/Control-Freak-Documentation/jQuery/docs/entries/target-selector.json
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

1 line
860 B
JSON

{"name":"target","type":"selector","title":":target Selector","deprecated":null,"removed":null,"desc":"Selects the target element indicated by the fragment identifier of the document's URI.","categories":["selectors/basic-filter-selectors","version/1.9"],"entries":[{"return":"","signatures":{"added":"1.9"},"examples":null,"longdesc":"\n <p>If the document's URI contains a fragment identifier, or hash, then the <code>:target</code> selector will match the element with an ID that matches the identifier. For example, given a document with a URI of http://example.com/#foo, <code>$( \"p:target\" )</code> will select the <code>&lt;p id=\"foo\"&gt;</code> element.</p>\n <p>Further discussion of this usage can be found in the <a href=\"http://www.w3.org/TR/css3-selectors/#target-pseudo\">W3C CSS specification</a>.</p>\n "}],"slug":"target-selector"}