本文介绍了Ajax响应非常慢。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
我有一个Web应用程序,通过它可以使用ajax将数据发布到服务器上并返回结果。当我提醒xmlhttp.readystate时,有时需要很长时间,这个过程看起来像冻结,有时它的设计非常快。
我通过提醒xmlhttp.readystate检查。
有时我会快速响应1,2,3 4作为警报框。
有时我只得到1然后没有任何反应。 />
有没有经历过同样的人。
问候,
Anubhav
Hi Friends,
I have a web application through which, the ajax is used to post the data onto the server and return the results. When i alert the xmlhttp.readystate sometimes it takes long time, that the process looks like freezing and sometimes its done very quickly as it is designed to.
I checked by alerting xmlhttp.readystate.
sometimes i get response 1,2 ,3 4 as the alert box quickly.
and sometimes i just get 1 and then nothing happens.
Has any one experienced the same.
Regards,
Anubhav
推荐答案
这篇关于Ajax响应非常慢。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!