JQuery load content from a remote site

后端 未结 2 905
野趣味
野趣味 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:34

    You can take a look at cross domain ajax request with YQL and jQuery.

    http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-cross-domain-ajax-request-with-yql-and-jquery/

提交回复
热议问题