jQuery :not() 选择器
jQuery 教程
· 2019-03-10 11:58:19
实例
选取除了 class="intro" 元素以外的所有 <p> 元素:
$("p:not(.intro)")
定义和用法
:not() 选择器选取除了指定元素以外的所有元素。
最常见的用法:与其他选择器一起使用,选取指定组合中除了指定元素以外的所有元素(如上面的实例)。
语法
$(":not(selector)")
| 参数 | 描述 |
|---|---|
| selector | 必需。规定不选择的元素。 该参数接受任何类型的选择器。 |
点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html
Practical Algorithms for Programmers
Andrew Binstock、John Rex / Addison-Wesley Professional / 1995-06-29 / USD 39.99
Most algorithm books today are either academic textbooks or rehashes of the same tired set of algorithms. Practical Algorithms for Programmers is the first book to give complete code implementations o......一起来看看 《Practical Algorithms for Programmers》 这本书的介绍吧!