[jQuery] Zebra table with hidden rows
I'm using the following code to style a table:
$("table.xy tr:nth-child(odd)").addClass("odd");
But before doing that I'm hiding some rows:
$("tr#xy").hide();
Now the zebra pattern isn't working any more (it's an abnormal zebra), of
course. How to apply the zebra-stuff just to the visible rows?
--
View this message in context: http://www.nabble.com/Zebra-table-with-hidden-rows-tf4030892s15494.html#a11450217
Sent from the JQuery mailing list archive at Nabble.com.