I've used tablesorter before.  I know its not intended to be
complicated, so I assume I'll want to slap myself when I figure out
how simple the problem was.

when I put other functions in my document.ready they work fine.





from the head tag:

  <script type="text/javascript" src="js/jquery-1.2.6.min.js"></
script>
  <script type="text/javascript" src="js/jquery-treeview/
jquery.treeview.js"></script>
   <script type="text/javascript" src="js/jquery.tablesorter.min.js"></
script>
   <script type="text/javascript" src="js/
jquery.tablesorter.pager.js"></script>


<script type="text/javascript">

$(document).ready(function(){




      $("#myresults").tablesorter();



                        });
</script>




>From the body:





 <table id="myresults">


                  <tr>
                  <td>1</td>
                  <td>2</td>
                  <td>3</td>
                  </tr>


                  <tr>
                  <td>1</td>
                  <td>2</td>
                  <td>3</td>
                  </tr>


                  <tr>
                  <td>1</td>
                  <td>2</td>
                  <td>3</td>
                  </tr>

                  <tr>
                  <td>1</td>
                  <td>2</td>
                  <td>3</td>
                  </tr>


              </table>

Reply via email to