$.ajax({ type: "get", contentType: "application/json", url: "http://xxxx", data: { 参数名: 参数值 }, dataType: ‘jsonp‘, error: function (a, b, c) { }, success: function (data) {} });
Ajax跨域请求
原文:http://www.cnblogs.com/acgk/p/4381402.html