Dynamically loading different static tables

Dynamically loading different static tables

qlxjrfqlxjrf Posts: 1Questions: 0Answers: 0
edited December 2011 in General
$(document).ready(function() {
/*
Basically loading an html snippet



Col 1a
Col 1a
Col 1a
Col 1a




static col 1
static col 1
static col 1
static col 1



*/
$('#gridReport').load('http://www.foo.com/report2.html_snippet');
$('#ReportDataGrid1').dataTable();
} );






So this doesn't work, but this is the functionality I need.
It would seem that JQuery/Datatables has scanned the DOM before we get to the ready state, how do I have it rescan the DOM afterwards when I want to load any particular html snippet.

Thanks,
--JR
This discussion has been closed.