2008-05-31

Diary

jQueryでtableの奇数行のみにスタイルを適用する

アツイな。 $("tr:nth-child(odd)").addClass("odd"); jQueryとPrototypeどっちがいいんだろうなぁ。jQueryのほうがよさげかな。