1

This works in Chrome and Firefox, but a call to .getJSON with "?jsoncallback?" suffix to the url fails with a 'No Transport' error in IE.

Any experience with this around whether this does or does not work, will be highly appreciated.

Thanks.

4

1 回答 1

0

Internet Explorer 似乎有更严格的跨域策略,以防止在未正确设置回调的情况下使用。

如果您替换 ?jsoncallback? 跨域调用将起作用 使用 ?callback=?

见这里:https ://stackoverflow.com/a/9803766/1254222

于 2013-06-21T16:35:45.583 回答