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