I have used the common header and footer for my website.
The javascript code I have used for it. It works in Firefox but not in Chrome.
The javascript code is
$( document ).ready(function() {
    $("#header").load("header.html"); 
    $("#footer").load("footer.html"); 
});
 
     
     
    