Everyone in the whole world seems to want to load tables into
the page with Ajax and then have them be sortable. The best
way to implement this is probably to start an interval which
fires once a second or so and checks to see if
the list of table.sortable is different from last time it fired.
If it is, call table.makeSortable(newtableObject) for each
new table object. The one-second timing might need some tweaking;
every few seconds, perhaps. Experiment.
Better still, use <a
href=“http://icant.co.uk/sandbox/eventdelegation/”>event delegation</a>
on the body element and pick up clicks therein, which means it all works
without effort.