easyXDM 在 IE8 上获得 "access denied"

easyXDM get "access denied" on IE8

伙计们

我做了一个简单的easyXDM代码,它不能在IE8上运行,但在所有其他浏览器上都可以正常运行,请帮助查找我的代码是否有任何错误。

(我在 IE8 中遇到拒绝访问错误)。

本地域:

$(document).ready(function(){
    var rpc = new easyXDM.Rpc({
        'local': "lib/name.html",
        'remote': "http://10.74.80.70:1291/XDMtest/query.html",
        'remoteHelper': "http://10.74.80.70:1291/XDMtest/name.html",
        'lazy': false,
        'timeout': 10 * 1000,
        'swf': "lib/easyxdm.swf",
        'swfNoThrottle': true,
        'container': 'embeded'
    },{
        'remote': {
            XDMquery:{}
        },
        'local':{
            getReturn: function(response,callback){                     
                // pass response into callback's parameter
                callback(response);
            }
        }
    });

    rpc.XDMquery({
        "url": "http://10.74.80.70:1291/api/product/GetAllProducts",
        "method":"GET",
        'dataType': 'json',
        'contentType': 'application/json; charset=utf-8',
        "crossDomain": true
    },function(response){
        console.log(response);
        $("h1").text(response.status)
    });
});

远程域:

var xhr;
var internalQuery = function(queryObj,callback){
    $.ajax(queryObj).complete(function(response){
        xhr.getReturn(response,callback);
    })
}
$(document).ready(function(){   
xhr = new easyXDM.Rpc(
    {
            "local": "lib/query.html",
            "swf": "lib/easyxdm.swf",
            "swfNoThrottle": true
        },
        {
            "local": {
                XDMquery: function(obj,callback){
                    internalQuery(obj,callback);
                }
            },
            "remote":{
                getReturn: {}
            }
        }
    );
});

问题来自jquery库,如果在远程服务器中更改为jquery1.10.0,这个问题可以解决。