Wire up the Tablesorter code *after* the table is on the page
$(document).ready(function(){ $("#menuitem").click(function(event){ $("#outputdiv").load("script.php"); $("#outputdiv table").tablesorter(); }); });
Wire up the Tablesorter code *after* the table is on the page
$(document).ready(function(){ $("#menuitem").click(function(event){ $("#outputdiv").load("script.php"); $("#outputdiv table").tablesorter(); }); });