隔行换色
body,
table,
td,
{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.h {
background: #f3f3f3;
color: #000;
}
.c {
background: #ebebeb;
color: blue;
}
.toggleClass(className)和.toggleClass(className,switch)
天盟jQuery入门 | 天盟jQuery入门 | 天盟jQuery入门 | 天盟jQuery入门 | 天盟jQuery入门 | 天盟jQuery入门 | 天盟jQuery入门 | 天盟jQuery入门 | 天盟jQuery入门 | 天盟jQuery入门 |
如上代码,为什么odd选择器选择的是偶数而不是奇数?? |