"I have tried to add an onSuccess function to update the table
function
(){  $("table").trigger("update");  }
but the table does not sort"

If "#div_reveal" is filled with the actual <table> html,all of it,
upon successful return from the Ajax call, then the tablesorter
functionality is *not* wired up to it, hence trigger won't work...





On Oct 22, 7:18 am, magellan1975 <khic...@digiweb.ie> wrote:
> I have read the posts concerning tablesorter and ajax and have tried
> the tips but to no avail.
>
> I have a div container that is used to specify where the table I
> retrieve via ajax is placed $("#div_reveal").html(AjaxResponse).
>
> I have tried to add an onSuccess function to update the table function
> (){  $("table").trigger("update");  }
> but the table does not sort. When I copy the output table directly
> into the page (static) it sorts. Therefore, I am assuming that the new
> table is not being added to the Dom and and is not being "recognized"
> by tablesorter.
>
> Does anyone know of a solution to retrieve and display a full html
> table via ajax and get tablesorter to sort it.
>
> Regards
>
> Kevin Hickey

Reply via email to