开发者

How to replace entire html?

开发者 https://www.devze.com 2023-03-31 13:30 出处:网络
I try to do something like that: function loadurl(url) $.get(url, function(msg) { $(\'html\').html(msg);

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消