0

When using PHP, I write:

<?php include('foo.html');?> <?php include('bar.html');?>

I tried jQuery, but I am not satisfied as I have to specify the container where I have to load the HTML page.

$('.container').load('foo.html');

I need the same result as PHP, but using JavaScript. And load more than one file.

Any help

1 Answers1

-1

I found something that might match what you are looking for

How can I load multiple html files from a folder into a div

Query load multiple html files in one element

Community
  • 1
  • 1