$('tr td:nth-child(2n)').css('background', '#ccc') // even column highlited
$('tr td:nth-child(2n-1)').css('background', '#ccc') // odd column highlited MaurĂcio-----Mensagem Original----- De: <vivekamar...@gmail.com>
Para: "jQuery (English)" <jquery-en@googlegroups.com> Enviada em: segunda-feira, 19 de janeiro de 2009 01:32 Assunto: [jQuery] Column highlite
I have table which need to have alternate column highlight and work in IE&Mozilla both usingg jqueryPlz say suggestion.