updating a table and re-applying a behavior

updating a table and re-applying a behavior

Hi everybody! 

Let me explain my problem:
I have a table initialized with some values and sorted using tablesorter plugin. I added also the pager plugin to allow the user a more comfortable view.

Here is the starting html:
  1. <table id="tabella-prodotti" class="tablesorter">
  2.       <thead>
  3.                 <tr>
  4.                 <th></th>
  5.                 <th>Prodotto</th>
  6.                 <th>Descrizione</th>
  7.           </tr>
  8.        </thead>
  9.        <tbody id="i-prodotti">
  10.           <tr>
  11.               <td style="width: 10%"><img src="./prodotti/immagini/thumbs/Frama Eletta picul.JPG" width="42" height="56"/></td>
  12.               <td style="width: 30%"><span class="fornitore">nome</span><br/><span class="nome-prodotto">elemento</span></td>
  13.              <td><span class="descrizione-prodotto">descrizione</span></td>
  14.           </tr>
  15. [more elements <tr></tr>]
  16.      </tbody>
  17. </table>
  18.                            <div id="pager" class="pager">
  19.                                     <form>
  20.                                         <img src="./design/first.png" class="first"/>
  21.                                         <img src="./design/prev.png" class="prev"/>
  22.                                         <input type="text" class="pagedisplay"/>
  23.                                         <img src="./design/next.png" class="next"/>
  24.                                         <img src="./design/last.png" class="last"/>
  25.                                         <select class="pagesize">
  26.                                             <option selected="selected"  value="10">10</option>
  27.                                             <option value="20">20</option>
  28.                                             <option value="30">30</option>
  29.                                             <option  value="40">40</option>
  30.                                         </select>
  31.                                     </form>
  32.                             </div>
And here is the jQuery code calling the plugins:

  1.             $(document).ready(function()
  2.             {
  3.                 $("#tabella-prodotti").tablesorter()
  4.                 .tablesorterPager({container: $("#pager"),
  5.                                    positionFixed: false
  6.                                });
  7.             });
       
My question concerns the updating of this table: i use an ajax call to update the <tbody> of the table, according to a value selected in a selectbox, i wish to show certain values, retrieved remotely from a server call to a database. Here is the code concerning this behaviour:
  1.                 $('a[name=menucategorie]').click(function(e) {
  2.                     //Cancel the link behavior
  3.                     e.preventDefault();
  4.                     //Get the A tag
  5.                     var queryparam = $(this).attr('href');                    
  6.                     var query = "act=prod_list&"+queryparam;
  7.                     
  8.                     //loading the content in the table
  9.                     $.ajax({
  10.                         url: './controller',
  11.                         data: query,
  12.                         dataType: 'text',
  13.                         type: 'post',
  14.                         success: function (msg) {
  15.                             if (msg == "") {
  16.                                 $('#i-prodotti').html('no product for this category');
  17.                             }
  18.                             else {
  19.                                 $('#i-prodotti').html(msg);
  20.                             }
  21.                         }
  22.                     });
  23.                 });
  24.             });
The server message is HTML code containing <tr></tr> elements like in the HTML code above.
The fact is, that if I load the new values and put them in the <tbody> tag, the paging function won't work! the Pager plugin still shows me the values contained by the starting page, i.e. the ajax function does not update the <tbody> in the file. 
How can I manage to update the view and make the tablesorter-pager plugin?

Sorry if the question is trivial, i'm still not very familiar with ajax and jQuery mechanisms... :)

Thanks in advance,
Diego.