XMLHttpResponse没有显示任何响应.... [英] XMLHttpResponse is not showing any response....

查看:71
本文介绍了XMLHttpResponse没有显示任何响应....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在开发一个项目,我正在使用PHP / MySql。在某个地方,我正在使用AJAX ...... XMLHttpResponse .........它在任何地方都可以正常工作,但在某个地方,我不知道为什么它没有显示任何响应.....

调试这个还有一件事我正在使用FireBug for FireFox它表明我发送的URL是用适当的变量创建的,但是在HEADER标签中显示任何内容,在RESPONSE选项卡中它显示正在加载 ...." ....更奇怪的是......它只是在五分钟之前工作正常而且没有改变任何变化我在5分钟后再次尝试它(可能比那还要差)并且它停止工作....


是的我想在这里再说一件事是我在这里使用XMLHttpResponse对象for循环...所以它创建了任何问题???如果你愿意,我也可以在这里发布代码.....


问候,

RP

Hi All,

I''m working on one project in which i''m using PHP/MySql. And somewhere i''m using AJAX... XMLHttpResponse......... it works fine everywhere but when somewhere i dont know why it is not showing any response.....

One more thing to debug this i''m using FireBug for FireFox it shows that URL i''m sending is created with proper variable but dosent show anything in HEADER tab and in RESPONSE tab it is showing "Loading...." ....and more strange thing is... it was working fine just a five min before and without changing anyhing i tried it again after 5 min (may be less than that even) and it stopped working....

Yeah i like to mention one more thing here is i''m using XMLHttpResponse object in for loop here... so does it creating any problem??? if you want i can post the code here as well.....

Regards,
RP

推荐答案

嗨...


我们想要:) ...请发布导致问题的代码...


亲切的问候
hi ...

yes we want :) ... please post the code that makes the problems ...

kind regards


hi gits ..

以下是Ajax代码....

hi gits..
following is the Ajax Code....

展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号


嗨...


i假设您稍后再调用 confirm_use()?你可以尝试只使用一次迭代,这样你只能进行一次ajax调用吗? ...我认为您可以使用以下内容使其正常工作:

hi ...

i assume you call confirm_use() later on? could you try to use only one iteration so that you only would make one single ajax call? ... i think you could use something like the following to make it work:

展开 | 选择 | Wrap | 行号


这篇关于XMLHttpResponse没有显示任何响应....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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