浏览器将继续“装”ajax请求完成后,浏览器、继续、完成后、ajax

2023-09-10 20:17:15 作者:北城荒芜南城空

您已经看到了这一点 - 一个Ajax重页,就像meebo.com,浏览器永远不会停止旋转,它从来没有表明它加载完毕。是什么原因导致这一点,是有什么办法可以始终如一地告诉浏览器(任何浏览器,它可能是),装车完成?

You've seen this - on an ajax-heavy page, like meebo.com, the browser never stops 'spinning', it never indicates that it's finished loading. What causes this, and is there any way to consistently tell the browser (whatever browser it may be), that loading has completed?

编辑:对不起,我应该已经指定我是一个开发者在这里。我已经在其他网站上注意到了这一点,现在我的一个,以及使用Ajax的。我想确保当一个Ajax调用返回时,页面会停止加载。

Sorry, I should've specified that I'm a developer here. I've noticed this on other sites, and now one of mine as well that's using ajax. I want to make sure that when an ajax call comes back, the page stops 'loading'.

推荐答案

我回答另一个问题这样一个问题:

I answered this question in another question:

http://stackoverflow.com/questions/1064782/stop-the-browser-throbber-of-doom-while-loading-comet-server-push-iframe/

有特定浏览器技术,使纺纱停止或不开始纺都仍然加载数据与服务器推送。

There are browser-specific techniques to make the spinning stop, or not to begin spinning at all and still load data with a server-push.