开发者

Jquery simple AJAX get not working in IE(8)

开发者 https://www.devze.com 2023-03-23 10:51 出处:网络
I\'m having the simplest AJAX get call possible (working in FF), yet not working in IE(8), I don\'t know why nor can find a way to debug this:

I'm having the simplest AJAX get call possible (working in FF), yet not working in IE(8), I don't know why nor can find a way to debug this:

var jqxhr3 = $.get(
"http://server-url:3333/path_to_file?PROJECT_ID=2&BROWSER_ID=1"
)

This call is done from a server that 开发者_如何学运维is on the same network, but not on the "server-url" machine, is that a cross-domain issue?

Thanks.


Yes, it's a cross-domain issue. Look into JSONP.

Here's a good tutorial on how JSONP works.

0

精彩评论

暂无评论...
验证码 换一张
取 消