jQuery :target 选择器

jQuery 教程 · 2019-03-10 20:42:19

定义和用法

:target 选择器选择由文档URI的格式化识别码表示的目标元素。

提示:如果文档的URI包含一个格式化的标识符或 hash(哈希),那么 :target 选择器将匹配ID和标识符相匹配的元素。 例如,给定的URI http://example.com/#foo,则$( "p:target" ),将选择<p id="foo">元素。

语法

$( ":target" )

点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html

查看所有标签

Beginning XSLT 2.0

Beginning XSLT 2.0

Jeni Tennison / Apress / 2005-07-22 / USD 49.99

This is an updated revision of Tennison's "Beginning XSLT", updated for the new revision of the XSLT standard. XSLT is a technology used to transform an XML document with one structure into another ......一起来看看 《Beginning XSLT 2.0》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

html转js在线工具
html转js在线工具

html转js在线工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试