Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript IE9 SCRIPT87:XDomainRequest上的参数无效_Javascript_Internet Explorer 9_Explorer_Xdomainrequest - Fatal编程技术网

Javascript IE9 SCRIPT87:XDomainRequest上的参数无效

Javascript IE9 SCRIPT87:XDomainRequest上的参数无效,javascript,internet-explorer-9,explorer,xdomainrequest,Javascript,Internet Explorer 9,Explorer,Xdomainrequest,我正在Internet Explorer 9上测试我的应用程序,该应用程序在Chrome、Firefox、Opera和Safari上运行良好,但在IE中。。。。 那么在这个代码中, this.xhr.open("PUT",url,true); IE显示“SCRIPT87:无效参数”。我附加了一个图像: xhr元素是XDomainRequest()对象,url属性是正确的url。有人知道IE9在说什么吗?我认为我的跨源请求应用程序使用api restful(带有get、post、put和del

我正在Internet Explorer 9上测试我的应用程序,该应用程序在Chrome、Firefox、Opera和Safari上运行良好,但在IE中。。。。 那么在这个代码中,

this.xhr.open("PUT",url,true);
IE显示“SCRIPT87:无效参数”。我附加了一个图像:


xhr元素是XDomainRequest()对象,url属性是正确的url。有人知道IE9在说什么吗?

我认为我的跨源请求应用程序使用api restful(带有get、post、put和delete方法)将与IE“兼容”(显然是8和9版本),我认为XDomainRequest与XMLHttpRequest具有相同的cors实现,但没有更多,对于XDomainRequest,我们对如何运行有很多限制:只有“get”和“post”方法运行,没有自定义头,等等。与ie8和IE9的这个问题有关的链接

ie10将使用XMLHttpRequest实现cors