$.ajax({ type: 'get', dataType: "jsonp",//支持跨域 jsonp: "callback", jsonpCallback: "flightHandler", url: url, async: true, data: data, success: function (data) { ........ } });
$.ajax({ type: 'get', dataType: "jsonp",//支持跨域 jsonp: "callback", jsonpCallback: "flightHandler", url: url, async: true, data: data, success: function (data) { ........ } });