jQuery Plugin - Tablesorter

jQuery Tablesorter Plugin makes dealing with tables even easier!


$(document).ready(function()
  {
    $("#senatetable").tablesorter(
     {
       theme: 'blue',
       widgets: ['zebra']
     }
   );
  }
);

Data passed to the "tablesorter" plugin:

     {
  theme: 'blue',
  widgets: ['zebra']
}

Sortable table:
table_sortable

Tables are constructed with thead and tbody. Simply by giving them a class="sortable", the jQuery Tablesorter Plugin makes them 'sortable' and 'striped':

tablesorter

Senate data used with permission from GovTrack.US.
Table sorting is achieved through jQuery and the jQuery Tablesorter Plugin