jQuery Zebra Stripe a Table

Chris Coyier on Updated on
$("tr:odd").addClass("odd");

Then use some CSS:

.odd {
   background: #ccc;
}