Jul 14, 2011, 5:51 AM
Ext.AjaxRequest is always failing in Chrome and Mozilla
Hi,
I'm using the below ajax call to a webservice and this returns a json file. This works perfectly if I use IE. But in Mozilla n Chrome this is always executing failure condition.
I'm using the below ajax call to a webservice and this returns a json file. This works perfectly if I use IE. But in Mozilla n Chrome this is always executing failure condition.
Ext.Ajax.request({
url: "xxxxxxxxxxxxxxxx",
success: function (response, options) {
try {
window.visFolders = Ext.util.JSON.decode(response.responseText);
}
catch (e) {
showException(e, 'parsing vis folder tree');
}
},
failure: function () {
alert("Ajax request failed");
}
});
This works in all browsers if the app is published and hosted in IIS. Please advise on this...
Last edited by geoffrey.mcgill; Jul 14, 2011 at 6:04 AM.
Reason: please use [CODE] tags