浏览器将继续“装”ajax请求完成后, [英] Browser continues 'loading' after ajax request finishes

查看:128
本文介绍了浏览器将继续“装”ajax请求完成后,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您已经看到了这一点 - 一个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:

<一个href="http://stackoverflow.com/questions/1064782/stop-the-browser-throbber-of-doom-while-loading-comet-server-push-iframe/">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.

这篇关于浏览器将继续“装”ajax请求完成后,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆