jQuery :odd 选择器
jQuery 教程
· 2019-03-10 07:28:23
实例
选择每个相隔的(奇数)<tr> 元素:
$("tr:odd")
定义和用法
:odd 选择器选取带有奇数索引号的每个元素(比如:1、3、5 等等)。
索引值从 0 开始,第一个元素是偶数 (0),第二个元素是奇数 (1),以此类推。
最常见的用法:与其他选择器一起使用,选取指定组合中每个奇数序号的元素(如上面的实例)。
提示:请使用 :even 选择器来选取带有偶数序号的元素。
语法
$(":odd")
点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html
Is Parallel Programming Hard, And, If So, What Can You Do About
Paul E. McKenney
The purpose of this book is to help you understand how to program shared-memory parallel machines without risking your sanity.1 By describing the algorithms and designs that have worked well in the pa......一起来看看 《Is Parallel Programming Hard, And, If So, What Can You Do About 》 这本书的介绍吧!