Ajax, get the data in the Android from the server, IOS error??????

We project in Android system runs normally, but in the apple mobile phone operation, access to the server to get data, direct error, what is the reason?

Started by Xavier at December 09, 2016 - 9:27 PM

See the error message

Posted by Glendon at December 20, 2016 - 9:45 PM

Access to server data in Ajax, error data directly, without success
function insertMuInfo(){
var serveraddress="http://"+ip+":"+port+"/MU/MUQUERY.action";
$.ajax({
type: "get",
async: false,
cache:false,
url: serveraddress,
dataType: "jsonp",
jsonp: "callback",//Pass to the request handler or page, use parameters to obtain the jsonp callback function name name (general default: callback)
success:callback,
error: function(){
alert('fail');
}
});
}

Posted by Xavier at December 29, 2016 - 10:44 PM