Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1081923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:13:55+00:00 2026-05-16T22:13:55+00:00

I am building a table with ajax and then attaching a jQuery tablesorter (found

  • 0

I am building a table with ajax and then attaching a jQuery tablesorter (found here). This works fine the first time. On a second time (and every one really) I empty out the rows like this:

$(‘#tblTableName tbody tr’).empty();

I then add the rows as I did before and then reattach the tablesorter. It looks fine and I show only the rows that I just added. HOWEVER, if I sort the table it shows the rows that were emptied out (albeit sorted, <sarcasm>YAY! </sarcasm>) . I suspect that tablesorter needs to be cleared out as well, but I’m not seeing where to do that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:13:56+00:00Added an answer on May 16, 2026 at 10:13 pm

    USE

    $("#YOUR TABLE ID").trigger("update");
    

    after adding new rows

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a table using the DataGridView where a user can select items
I'm building a symbol table for a project I'm working on. I was wondering
I'm currently dynamically building an asp:table which contains checkboxes these checkboxes have a CheckChanged
I'm building a pretty basic HTML table creator/editor (based on a designMode iframe) at
I'm building a quick csv from a mysql table with a query like: select
I'm building a form with php/mysql. I've got a table with a list of
Ran into an interesting problem with a MySQL table I was building as a
Please could someone help im building my first website that pulls info from a
I'm looking at building a Rails application which will have some pretty large tables
Building on How Do You Express Binary Literals in Python , I was thinking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.