Open richardgmcmahon opened 9 years ago
That will go in a tag, and it can be anywhere in your HTML document -
or$(document).ready() is a JQuery feature that waits until the page has loaded the DOM and then executes the function inside. So using this, tablesorter will wait until your HTML is loaded.
The README says
Start by telling tablesorter to sort your table when the document is loaded:
$(document).ready(function() { $("#myTable").tablesorter(); }
Could you be give some guidance where this should be placed in the html file e.g. after or between which tags
Thanks