jQuery :even 选择器
jQuery 教程
· 2019-03-10 07:12:38
实例
选择每个相隔的(偶数)<tr> 元素:
$("tr:even")
定义和用法
:even 选择器选取带有偶数索引号的每个元素(比如:0、2、4 等等)。
索引值从 0 开始,第一个元素是偶数 (0),第二个元素是奇数 (1),以此类推。
最常见的用法:与其他选择器一起使用,选取指定组合中每个偶数序号的元素(如上面的实例)。
提示:请使用 :odd 选择器来选取带有奇数序号的元素。
语法
$(":even")
点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html
Introduction to Computation and Programming Using Python
John V. Guttag / The MIT Press / 2013-7 / USD 25.00
This book introduces students with little or no prior programming experience to the art of computational problem solving using Python and various Python libraries, including PyLab. It provides student......一起来看看 《Introduction to Computation and Programming Using Python》 这本书的介绍吧!
CSS 压缩/解压工具
在线压缩/解压 CSS 代码
RGB HSV 转换
RGB HSV 互转工具