0

I'm working on this website and i need to display the <div> where the table is into another page, so i just have to edit one time the table for both pages.

I need to display this <div id="table" class="dslc-modules-section " style="padding-bottom:0px;padding-top:0px;padding-left:2.5%;padding-right:2.5%;"> without using <iframe> into another page.

Any ideas?

Thanks in advice

EDIT: using the jquery load .load() now i am able to display the same table that i have in this page also into this page. But i still have a problem: the table javascript in the second page does not works. The table should be animated as here bus seems like not loaded. How come?

I used this:

<script>
jQuery(document).ready(function($){
$('#table_en').load('http://birsmatt.ch/wohnungen/ #table');
});
</script>
ScemuFessa
  • 47
  • 1
  • 6
  • 1
    Can you please refer this link? http://stackoverflow.com/questions/4101770/load-content-of-a-div-on-another-page – Purvik Dhorajiya May 12 '16 at 08:41
  • @purvik7373 i did, and now i'm able to load the div into another page, but the other javascript code looks like not well loaded. Can you please read my first post? I just edited it. – ScemuFessa May 12 '16 at 09:26

0 Answers0