i am using XDR for cross domain resource sharing in ie. It works perfectly. I need to know how to specify the return dataType in this. I need to get json as responseText. Here is my code,
if (window.XDomainRequest&& $.browser.msie && $.browser.version < 10) {
xdr = new XDomainRequest();
if (xdr) {
xdr.onload = function () {
var customResponse = xdr.responseText;
}
};
xdr.open("get", url);
xdr.send();
}