tags:

views:

20

answers:

1

I have a table that contains totals at the end. I need to select all TD's in the last row except the 1st TD which says the word TOTAL.

This does not seem to work, any idea's?

$(".tableclass tbody tr:last(td:not(first-child))").css({'color':'#FF0000'});

Thanks

+2  A: 

this should do it ..

$('.tableclass tbody tr:last td:not(:first-child)').css({'color':'#FF0000'});
Gaby
Many thanks, works like a treat :)
Wright-Geek