开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜