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://codercto.com/courses/l/35.html

查看所有标签

XForms Essentials

XForms Essentials

Micah Dubinko / O'Reilly Media, Inc. / 2003-08-27 / USD 29.95

The use of forms on the Web is so commonplace that most user interactions involve some type of form. XForms - a combination of XML and forms - offers a powerful alternative to HTML-based forms. By pro......一起来看看 《XForms Essentials》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具