jQuery 多个元素 选择器

jQuery 教程 · 2019-03-10 06:26:34

实例

选取所有 <h2>、<div> 和 <span> 元素:

$("h2,div,span")

定义和用法

element 选择器可用于选取多个 element。

注意:用逗号分隔每个 element。

语法

$("element1,element2,element3,...")

参数 描述
element 必需。规定要选取的元素。

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

查看所有标签

Deep Learning

Deep Learning

Ian Goodfellow、Yoshua Bengio、Aaron Courville / The MIT Press / 2016-11-11 / USD 72.00

"Written by three experts in the field, Deep Learning is the only comprehensive book on the subject." -- Elon Musk, co-chair of OpenAI; co-founder and CEO of Tesla and SpaceX Deep learning is a for......一起来看看 《Deep Learning》 这本书的介绍吧!

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

URL 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具