I've got a navigation bar div on all my .html page. To not copy paste the nav-bar code on every page I've created an .html page with the code and I print it on every page via jquery like this:
<div id="includeNavbar"></div>
And the code to actually print it is:
$(function(){
$("#includeNavbar").load("navbar.html");
});
Is there a way to keep the nav bar loaded and load the remaining content via jquery but still using this type of printing method?
I'm using the latest Bootstrap version