jQuery * 选择器

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

实例

选取文档内的所有元素:

$("*")

定义和用法

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

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

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

语法

$("*")

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

查看所有标签

Effective JavaScript

Effective JavaScript

David Herman / Addison-Wesley Professional / 2012-12-6 / USD 39.99

"It's uncommon to have a programming language wonk who can speak in such comfortable and friendly language as David does. His walk through the syntax and semantics of JavaScript is both charming and h......一起来看看 《Effective JavaScript》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

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

在线XML、JSON转换工具

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

正则表达式在线测试