Tablesorter comes with a zebra-striping widget. $("table").tablesorter({ widgets: ['zebra'] });
stephen On Wed, Jun 18, 2008 at 6:34 AM, Ken <[EMAIL PROTECTED]> wrote: > > 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 >