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