开发者

Jquery.load returns 206 Partial Content and no content shows

I'm calling $('#help')开发者_开发技巧.load('http://recaptcha.net/popuphelp/'); but it returns 206 Partial Content and doesn't fill the div with the help information.

I think it has something to do with cross-domain request limitations.

How can I get it to work?


Nick is correct. The reason for the error is because of the same-origin policy. Basically you cannot make cross-domain requests in an ajax call.

In this case the best solution is to use an iFrame.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜