$("#page").ajaxStart(function(){
$("#loading").show();
});
$('#page').load('target.html', function() {
$("#loading").hide();
}
This is how I load my target page, but this AJAX function only loads scripts, not all nodes inside it. How to load a page with all its nodes, like images, etc. Is it possible?
The page loads but images in it starts loading way after. What I need is to load the elements inside it just like a swf movie.