I created a jquery table, which from time to time needs to be cleared, and re-populated, my clear method:
//Clear table content before repopulating values $('#table tr:gt(0)').remove();
Now I'm trying to use tablesorter to sort a specific column, but my problem is when I turn on tablesorter:
//Initialize tablesorter $("table").tablesorter();
The table cleaning method no longer works, it simply adds new data with old data, creating a lot of duplicate information.
Please, help
jquery tablesorter
conversoid
source share