jQuery 多个类 选择器
jQuery 教程
· 2019-03-10 05:56:44
实例
选取 class 为 "intro"、"demo" 或 "end" 的所有元素:
$(".intro,.demo,.end")
定义和用法
.class 选择器可用于选取多个 class。
注意:用逗号分隔每个 class。
注意:不要使用数字开头的 class 属性!在某些浏览器中可能出问题。
语法
$(".class1,.class2,.class3,...")
| 参数 | 描述 |
|---|---|
| class | 必需。规定要选取的元素的 class。 |
点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html
You Can Program in C++
Francis Glassborow / John Wiley & Sons / 2006-7 / 406.80元
An interactive and fun way to learn C++, one of the most popular high-level programming languages for graphic applications This unique, hands-on approach to learning C++ makes t......一起来看看 《You Can Program in C++》 这本书的介绍吧!