$('#your_table_id tr:odd').children('td').css('background-color', '#EEE');



brian wrote:
$('#your_table_id tr').find('td:odd').css('background-color', '#EEE');

You need to operate on each TR separately or jQuery will count each TD
without regard for the row it's in.

On Sun, Jan 18, 2009 at 10:32 PM,  <vivekamar...@gmail.com> wrote:
I have table which need to have alternate column highlight and work in
IE&Mozilla both usingg jquery

Plz say suggestion.

Reply via email to