JQuery Zebra Stripe a Table - CSS-triks

Anonim
$("tr:odd").addClass("odd");

Bruk deretter litt CSS:

.odd ( background: #ccc; )