且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用JavaScript重新加载div的内容

更新时间:1970-01-01 07:57:30

我不确定为什么您想首先使用JavaScript加载如此多的内容,但是您总是可以将JavaScript放在外部文件中,以便浏览器可以缓存它。这应该有助于如果浏览器加载导致页面冻结的脚本。

I'm not sure why you would want to load so much content with javascript in the first place, but you could always put the javascript in an external file so the browser could cache it. That should help if it's the browser loading the script that is causing the page to freeze up.

随时发布更多代码,我会看看如果不不要为你做。

Feel free to post more code and I'll take a look if that doesn't do it for you.