为什么没有这个AJAX请求中的jsfiddle工作 - 而它正常工作在我的网站?我的、工作、正常、网站

由网友(我們是否一起)分享简介:我一直在尝试一些超过8小时,调试,并为了得到一个适当的例子来问,为什么它不工作,我想放在一起的jsfiddle副本的问题,但AJAX请求没有按不像是会拨打电话。任何帮助找出为什么会大大AP preciated!I've been trying to debug something for over 8 hours,...

我一直在尝试一些超过8小时,调试,并为了得到一个适当的例子来问,为什么它不工作,我想放在一起的jsfiddle副本的问题,但AJAX请求没有按不像是会拨打电话。任何帮助找出为什么会大大AP preciated!

I've been trying to debug something for over 8 hours, and in order to get a proper example to ask the question of why it's not working, I'm trying to put together a JSFiddle replica, but the AJAX request doesn't seem to make the call. Any help in finding out why would be greatly appreciated!

链接到的jsfiddle: http://jsfiddle.net/cqpka/8/

Link to JSFiddle: http://jsfiddle.net/cqpka/8/

我说的是 $。获得()方法。

推荐答案

它看起来像一个同源策略违规的调用从的jsfiddle外部JSON文件。它会从域 offer-rotator.com 正常工作。

It looks like a same origin policy violation to call an external JSON file from jsfiddle. It would work correctly from the domain offer-rotator.com.

阅读全文

相关推荐

最新文章