看来dojo xhr ajax 调用在IE9 beta 中不起作用。有没有其他人看到过这种行为?
我正在使用以下代码发出服务器端请求并返回 json:
dojo.xhrPost({
url: baseUrl + path,
handleAs: 'json',
timeout: 60000,
content: request,
contentType: "application/x-www-form-urlencoded",
load: function(result) { ... },
error: function(error, args) { ... }
});
此代码在 IE7、IE8、Firefox 和 Chrome 中完美运行。但是在 IE9 beta 中它给了我:
错误:xhr 已取消 LOG:调试:错误:xhr 已取消 SCRIPT5022:抛出异常但未捕获?tbUsername=user&tbPassword=pass,第 118 行字符 1 SCRIPT5022:抛出异常但未捕获?tbUsername=user&tbPassword=pass,第 118 行字符 1
任何提示将非常感谢...