jQuery * 选择器

jQuery 教程 · 2019-03-09 23:12:34

实例

选取文档内的所有元素:

$("*")

定义和用法

* 选择器选取文档中的所有元素,包括 html、head 和 body。

如果 * 选择器与其他元素一起使用,该选择器选取指定元素中的所有子元素。

提示:* 选择器会对一些浏览器的处理造成负担。

语法

$("*")

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

查看所有标签

The Web Designer's Idea Book

The Web Designer's Idea Book

Patrick Mcneil / How / 2008-10-6 / USD 25.00

The Web Designer's Idea Book includes more than 700 websites arranged thematically, so you can find inspiration for layout, color, style and more. Author Patrick McNeil has cataloged more than 5,000 s......一起来看看 《The Web Designer's Idea Book》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具