Hi Abu,
I am trying to load grid php file inside div, my configuration:
Main page with link:
<a class="ajax-link" class="waves-effect" href="clientes.php"><i class="fa fa-tachometer"></i>Revendedores</a>
Main page with div
<div class="container" id="loaded_content" width="100%" height="100%"></div>
Main page with javascript
<script>
$(function() {
$("a.ajax-link").on("click", function(e) {
e.preventDefault();
$("#loaded_content").load(this.href);
});
});
</script>
If i try to load clientes.php from browser it loads perfect, showing all records, when i try inside div no records shown.
What i'm doing wrong?
thanks in advance
Mike
Hi Abu,
I have test inside iframe and works fine, same as your samples. I dont know why didnt work inside div, maybe jquery limitations. Any help is appreciate.
Thanks in advance
Mike