How to replace entire html?
I try to do something like that:
function loadurl(url)
$.get(url, function(msg) {
$('html').html(msg);
}
);
}
开发者_Python百科
but browser no load *.js and *.css files from head section. How to do it?
You should you be using body
instead of html
. Surely it is better just to load another page.
精彩评论