/ Published in: jQuery

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("tr:odd").addClass("odd"); Then use some CSS: .odd { background: #ccc; }
URL: http://css-tricks.com/snippets/jquery/jquery-zebra-stripe-a-table/
Comments
