Microsoft JScript运行时错误:xhrFailed [英] Microsoft JScript runtime error: xhrFailed

查看:245
本文介绍了Microsoft JScript运行时错误:xhrFailed的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用JavaScript编码的GIS应用程序项目。当我使用ESRI JS API 2.x时,它工作正常。当我使用ESRI JS API 3.8(最新版本)时,我收到了Microsoft JScript运行时错误:xhrFailed。

通过Fiddle2,我获得了502结果:forums.arcgis.com//ajax.php?do=quickedit&p=361501。 502表示Bad Gateway。

你有什么想法解决它吗?谢谢。

I have a GIS application project coded in JavaScript. When I used ESRI JS API 2.x, it worked fine. When I use ESRI JS API 3.8 (the latest), I got Microsoft JScript runtime error: xhrFailed.
Through Fiddle2, I got 502 result at: forums.arcgis.com//ajax.php?do=quickedit&p=361501. The 502 means Bad Gateway.
Do you have any idea to fix it? Thanks.

推荐答案

我测试了几种方法,发现这种错误是由于ESRI JS API 3.x和jquery的冲突(例如http:// code.jquery.com/jquery-1.10.2.js)。但是,如果使用ESRI JS API 2.x,则可以。
I tested several ways and found that this kind of error is due to the conflict of ESRI JS API 3.x and jquery (e.g. http://code.jquery.com/jquery-1.10.2.js). However, if using ESRI JS API 2.x, it will be OK.


这篇关于Microsoft JScript运行时错误:xhrFailed的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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