javascript - Is it possible to show multiple HTML file contents in a HTML page at the same time? -


i want show multiple html files in html file @ same time, how php blogs use templates.

for example have 3 html pages: head.htm, content.htm , footer.htm. html page (post.html) display other pages in one.

will work combination of js , html? don't wish use php , html5 because, host static.

edit : question answered . go down , see solution.

you use jquery. has method .load() http://api.jquery.com/load/

this allow load html files.

$(function() {       $('body').load('header.html'); }); 

Comments