$('.term')
                .not(":odd").css("backgroundColor", "Yellow")
                .end()
                .filter(":odd").css("background-color", "LightBlue");

'Jquery' 카테고리의 다른 글

slideToggle  (0) 2011.11.25
replaceWith  (0) 2011.11.25
라디오버튼의 체크된 value  (0) 2011.11.25
다중 속성 지정  (0) 2011.11.25
params  (0) 2011.11.25

+ Recent posts