[jQuery] Tablesorter plugin and zebra striping
I have the following in my $(document).ready:
$(document).ready(function() {
$(".zebra tr:not([th]):even").addClass("even");
$(".zebra tr:not([th]):odd").addClass("odd");
$("table#sorttable").tablesorter();
)};
This allows my table to sort columns by clicking on the column headers
and works great. What I need to be able to do, is have the zebra
striping happen after each table sort.
Is there a way to set this up?
Thanks, Ken