开发者

Jquery .load Same origin policy

开发者 https://www.devze.com 2022-12-23 15:50 出处:网络
Is there anyway i can fool the Jquery .load Same origin policy? The closest i\'ve come is with this tutorial.

Is there anyway i can fool the Jquery .load Same origin policy? The closest i've come is with this tutorial.

But that only开发者_运维知识库 deals with rss feeds.


The same origin policy is a browser thing, not a jQuery thing.

JSON-P is the usual way to work around this and is not limited to RSS feeds. It is even documented in the jQuery documentation (see the example that uses Flickr)

0

精彩评论

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