ajax


跨域请求出错 when the request credentials mode is include

XMLHttpRequest跨域请求出错: XMLHttpRequest cannot load http://test.com . The value of the 'Access-Control-Allow-Origin' header in the re...
17年4月7日 阅读 (7487) 有用 (20)

ajax返回的http status是200 没有进success方法 却进入了error方法?

把ajax方法简单封装了一下,以便其他地方调用,最近测试发现有时后端正常返回数据,ajax没有进入success方法,却进入了error方法。
17年6月22日 阅读 (2799) 有用 (4)