jquery
共 1 篇文章
jQuery学习笔记一
jQuery学习笔记一 $("div:first").css("background","red"); //选择第一个DIV元素 $("div:last").css("background","red"); //选择最后一个DIV元素 $("div:not(.one)").css("background","red"); //选择CLASS不为ONE的 div:not(.one) $("div:even").css("background","red"); //选择索引值为偶数的DIV元素 div:even $("div:odd").css("background","red"); //选择…
2011-03-30 15:05 · jquery · CSS · 三星 · jQuery