JQuery load content from a remote site

后端 未结 2 910
野趣味
野趣味 2021-01-06 18:02

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 i

2条回答
  •  一向
    一向 (楼主)
    2021-01-06 18:47

    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.

提交回复
热议问题