JQuery从远程站点加载内容 [英] JQuery load content from a remote site
本文介绍了JQuery从远程站点加载内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用JQuery从另一个网站加载内容,
不幸的是.load()函数仅限于当前域。
有什么办法吗?我想将导航栏直接插入tumblr博客。
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.
推荐答案
查看规避同源政策的方法
如果您可以控制另一方是很容易。否则,请尝试 Yahoos YQL 。
这篇关于JQuery从远程站点加载内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文