Cheesetoast » sorting http://www.cheesetoast.co.uk Brain Food for Web Developers Mon, 07 Jul 2014 23:18:22 +0000 en-US hourly 1 http://wordpress.org/?v=4.2.7 JQuery Tablesorter http://www.cheesetoast.co.uk/jquery-tablesorter/ http://www.cheesetoast.co.uk/jquery-tablesorter/#comments Fri, 02 Jul 2010 22:55:10 +0000 http://www.cheesetoast.co.uk/cheesepress/?p=27 Want to improve the functionality of your HTML tables? Tablesorter is "a JQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes". It is also cross browser friendly, working on IE6+. Continue reading

The post JQuery Tablesorter appeared first on Cheesetoast.

]]>

Want to improve the functionality of your HTML tables? Tablesorter is “a JQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes”. It is also cross browser friendly, working on IE6+.

To set it up you’ll need to download and include the tablesorter js file (along with a link to the JQuery library). Then simply give your table an id tag like so: <table id=”my_table”> and remember to include both THEAD and TBODY tags. Finally, add the javascipt in your page head:

$(document).ready(function(){

$(‘#my_table’).tablesorter();

}

To download tablesorter and to read the documentation on it, visit the tablesorter website.

 

The post JQuery Tablesorter appeared first on Cheesetoast.

]]>
http://www.cheesetoast.co.uk/jquery-tablesorter/feed/ 0