您好!欢迎来到聚码网

聚码网

热门搜索: 相亲小程序    搭子源码    直播系统自有商城   
  • ajax中的textStatus报错为parsererror?
  • 聚码交流
  • 0 0
  • yhuxAvNbtxUM
    0000-00-00 00:00:00
  • 回帖
ajax中的textStatus报错为parsererror。<!DOCTYPEhtml><html><head><metacharset="UTF-8"><title></title></head><body><scriptsrc="js/jquery-1.8.0.min.js"type="text/javascript"charset="utf-8"></script><scriptsrc="js/jq.js"type="text/javascript"charset="utf-8"></script><scripttype="text/javascript">$.ajax({type:"GET",url:"http://192.168.20.205:8080/platform/banner/bannerApi",async:true,dataType:"jsonp",jsonp:"callback",success:function(req){console.log(req);},error:function(XMLHttpRequest,textStatus,errorThrown){alert(XMLHttpRequest.status);//400alert(XMLHttpRequest.readyState);//2alert(textStatus);//parsererror}});</script></body></html>求大神指点,之前真心没有碰到这种问题,获取其他方法也可以,坐等
最近热帖
近期热议
联系我们
Q Q:317563994
电话:400-000-000
邮箱:317563994@qq.com
时间:09:00 - 17:00