0

after have read tons of different article on the web

i'm looking on a simple way to have in bootstrap my left menu, header and footer on a separate and unique file this is to prevent having to re-write anythings on each different pages of my application (i'm using a boostrap admin template)

thanks for your advices

jeebee
  • 21
  • 5

1 Answers1

0

Finally, after lots of tries, I use:

 $(function(){   $("#header").load("header.html");   
 $("#footer").load("footer.html");  });

Don't know why, it doesn't work 100% on a local file, but it's ok on the web site.

Pang
  • 8,605
  • 144
  • 77
  • 113
jeebee
  • 21
  • 5