Newbie Question... Applying CSS
Newbie Question... Applying CSS
I just started using this today.
I adapted the zero-config example so that an ajax call is bringing the table in to my page. I initialized dataTables as follows:
[code]if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
$('#example').dataTable();
}[/code]
The problem is, even though the data in the table seems to have the correct css, the elements outside of the table do not. My css paths are correct, I'm sure of that. What's going wrong here? Thanks!
I adapted the zero-config example so that an ajax call is bringing the table in to my page. I initialized dataTables as follows:
[code]if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
$('#example').dataTable();
}[/code]
The problem is, even though the data in the table seems to have the correct css, the elements outside of the table do not. My css paths are correct, I'm sure of that. What's going wrong here? Thanks!
This discussion has been closed.