/ Published in: JavaScript
one line zebra striping for tables using jquery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("tbody tr:nth-child(even)").addClass("alt");