Hi,

I using 



jquery 1.1.1(Rev: 1153) 

jquery.tablesorter.js ($Date: 2006-08-21 14:43:23 +0000). I 

  think this is the latest.



Question: If I modify a row's entry, then I click on the

header to resort the column, how can I get the plugin to

pick up my changes? It seems the plugin caches the results in

Microsoft Internet Explorer 7. It works fine in firefox. Thank you.



I have attached a demo file. Here is my test scenario

- click the status header

- then click on "click" link

- click the status header



I get the following



Sealskinz Waterproof Socks Online  0 0 

Orca polar Tec Fleece Hat  Online  3 3 

Large Packable Bag         Online  2 2 

Tempest Sailing Glove      Offline 1 1 

BRONER 'CAPTAIN' HAT       Online  0 0 

Gill Arctic Sock           Offline  0 0 



I wanted all my status fields to be sorted. Thanks









----------------------------------------------------------

<script type="text/javascript">



$(document).ready(function() {

  $("#discounts").tableSorter();

});



function toggleStatus() {



  $('#9176').each(function() {



    var children = $(this).children();

    children[1].innerHTML = (children[1].innerHTML == "Offline") ? "Online" : 
"Offline";

  });



}







</script>



</head>

<body>



<a href="#" onclick="toggleStatus();">click</a>

<table id="discounts">



  <thead>

  <tr>

    <th>Name</th>

    <th>Status</th>

    <th>Group One</th>

    <th>Group Two</th>

  </tr>



  </thead>

  <tbody>



    <tr id="9175" selected="selected">

      <td>BRONER 'CAPTAIN' HAT</td>

      <td>



        Online



      </td>

      <td>0</td>



      <td>0</td>

    </tr>



    <tr id="9176" >

      <td>Tempest Sailing Glove</td>

      <td>



        Online



      </td>



      <td>1</td>

      <td>1</td>

    </tr>



    <tr id="9177">

      <td>Large Packable Bag</td>

      <td>



        Online



      </td>

      <td>2</td>

      <td>2</td>

    </tr>



    <tr id="9178" >

      <td>Orca polar Tec Fleece Hat</td>



      <td>



        Online



      </td>

      <td>3</td>

      <td>3</td>

    </tr>



    <tr id="9179">



      <td>Sealskinz Waterproof Socks</td>

      <td>



        Online



      </td>

      <td>0</td>

      <td>0</td>

    </tr>



    <tr id="9180">



      <td>Gill Arctic Sock</td>

      <td>



        Offline



      </td>

      <td>0</td>

      <td>0</td>

    </tr>



  </tbody>

</table>



_______________________________________________



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to