0
我正在尝试使用JQuery.Soap插件进行跨域请求的HTA。来自本地文件的Ajax请求
$.soap({
url: 'some url',
method: 'some method',
appendMethodToURL: false,
namespaceURL: 'some namespace',
enableLoggin: true,
data: {},
success: function (response) {
alert(response);
},
error: function (response) {
alert(response);
}
});
它在IE11中完美的工作,但只有当我打开它作为Web服务器上的页面。如果我在PC上打开它作为文件 - 与HTA一样,出现“无传输”错误。是否可以使用Ajax创建独立页面?