jquery tablesorter plugin - retain alternative row colors
问题 I took an html table that I am applying alternative row colors to, and I added jquery table sorter on it so users can sort the table. The issue is that the alternative row colors are all messed up now as (based on the sorting) there are multiple rows with the same background color. Is there any way to reset the alternative row color with jquery table sorter? 回答1: There's already a default widget zebra , built into the core, which applies the classes odd and even to alternate rows. It works