7

有没有办法在 Internet Explorer 中查看正在进行的 ajax 请求,例如 google chrome 中的 firebug 和 firefox 允许您查看?

出于某种原因,我的 IE 卡在 ajax 请求上,它启动了请求,但我输入的加载消息永远不会消失,让我不知道发生了什么,请求是否失败,如果失败,为什么。相同的请求适用于 FF 和 chrome。

4

2 回答 2

5

Press F12 if you are using IE8 or up or install firebug for IE.

or install

Firebug Lite for IE

于 2012-06-06T02:10:39.187 回答
3

If you're using IE9, you should definitely be using the Developer tools. If you're using an earlier version of IE, try the Firebug Lite bookmarklet

You wont see network requests, but it does give you access to the console.log()

javascript:(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F[i+'NS']&&F.documentElement.namespaceURI;E=E?Fi+'NS':Fi;Er;Er;Er;(Fe[0]||Fe[0]).appendChild(E);E=new%20Image;Er;})(document,'createElement','setAttribute','getElementsByTagName','FirebugLite','4','firebug-lite.js','releases/lite/latest/skin/xp/sprite.png','https://getfirebug.com/','#startOpened');

Just paste that string into the address bar in IE after you've loaded your page.

于 2012-06-06T02:04:38.537 回答