JQuery load content from a remote site

2019-02-15 11:18发布

I would like to load content from another site using JQuery, Unfortunately the .load() function is limited to the current domain. Is there any way around ? I would like to insert à navigation bar directly into a tumblr blog.

2条回答
地球回转人心会变
2楼-- · 2019-02-15 11:46
在下西门庆
3楼-- · 2019-02-15 12:06

Have a look at Ways to circumvent the same-origin policy If you have control over the other side it is quite easy. Otherwise try Yahoos YQL.

查看更多
登录 后发表回答