Home > front end >  WeChat browser ajax can't obtain the data
WeChat browser ajax can't obtain the data

Time:09-23

$. Ajax ({
Type: "post",
Url: lsurl,
ContentType: 'application/json,
DataType: 'json,
Data: '{" id ":"' + id + "} ',
Success: the function (data) {//return the json results


Alert (data. Length);

}

});
PC browser can
WeChat browser,
DataType: 'json, don't get the data, when went to long to get the data of 0
Consult everybody specialist
  •  Tags:  
  • Ajax
  • Related