Grid inside div

QuestionsGrid inside div
Miguel asked 1 year ago

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

3 Answers
Mike answered 1 year ago

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

Abu Ghufran answered 1 year ago

Emailing you working demo.

Mike answered 1 year ago

Thanks Abu,

Working!

regards

Mike

Your Answer

20 + 16 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!