logo

New Response

« Return to the main article

You are replying to:

  1. Solution:

    Add a function to build the table and call it from the AJAX callback function:

    function buildSortableTable( id ) { var el = document.getElementById( id ); window.alert(el.innerHTML); var st = new SortableTable( el, ["CaseInsensitiveString", "CaseInsensitiveString", "USCurrency", "Date", "Number", "Number", "Number"]); st.sort( 1, false, "Nothing" ); }

    and call it like so.. from the response handler: buildSortableTable("table-1");

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: