Apologies for the previous partial post. I have a page which contains a search form which loads an external page into a content div, the incoming page contains a table where I am trying to use the jquery Datatables plugin. Here is my code:
$('#btnSearch').click(function(){ $.post("ss_handlers/search.php", { txtlname: $("input#txtlname").val (), txtfname: $("input#txtfname").val(), txtyeargroup: $ ("input#txtyeargroup").val(), txtformgroup: $("input#txtformgroup").val (), txtcommunity: $("input#txtcommunity").val() }, function(data){ $("#content").html(data); }, "html"); }); This works in IE but not in FF, in FF the table is loaded without the DataTables functionality. What is the best way to do this? Do I put the jquery code in the current doument or the incoming one? Can the incoming document contain the $(document).ready(function()? Are there any gotchas to be aware of when doing this? Artie