Bub
Bub

Reputation: 63

Jquery .load Same origin policy

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.

Upvotes: 6

Views: 7195

Answers (1)

Quentin
Quentin

Reputation: 944205

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)

Upvotes: 10

Related Questions