Using jQuery is possible, however, without using ajax.
function LoadPage(){ $.get('http://a_site.com/a_page.html', function(data) { $('#siteloader').html(data); }); }
And then put onload="LoadPage()" in the body tag.
Although, if you follow this route, the PHP version might be better:
echo htmlspecialchars(file_get_contents("some URL"));
Njdart Apr 01 '12 at 11:00 2012-04-01 11:00
source share