Hello All,
I want to include html page in other page
foe ex. home.html and footer.html
i want to include footer.html in home.html page.
and when run home.html and (ctrl+U) view source code both page code will be
want to show.
please help me.
div id="container">
var link = document.querySelector('link[rel="import"]');
var template = link.import.querySelector('template');
var clone = document.importNode(template.content, true);
document.querySelector('#container').appendChild(clone);
Sandeep KumarPosted Aug 14, 2015, 9:15 AM
Ravindra WaldePosted Aug 12, 2015, 1:36 AM
Manas MohapatraPosted Aug 11, 2015, 11:00 AM
Your browser does not support iframes.