jQuery:我收到OPTIONS请求而不是GET [英] jQuery: I get OPTIONS request instead of GET
本文介绍了jQuery:我收到OPTIONS请求而不是GET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用简单的jQuery
I am using simple jQuery
$.get( .... );
在这里,我没有得到GET响应,而是得到了OPTIONS.(已在Firebug Net中检查)
Here instead of getting GET response I get OPTIONS.( checked in firebug Net)
相同的代码在Safari中可以正常工作.似乎是Firefox的问题.
Same code is working fine in Safari. Looks like some problem with Firefox.
任何解决此问题的解决方法/解决方案.
Any workaround / solutions to fix this problem..
谢谢
Kurund
推荐答案
我希望这对某人有帮助: http://kurund.com/blog/2010/09/09/how-to-call-external-site-url-using-jquery-ajax/
I hope this helps someone: http://kurund.com/blog/2010/09/09/how-to-call-external-site-url-using-jquery-ajax/
这篇关于jQuery:我收到OPTIONS请求而不是GET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文