ajax 取不到值 急 急 急!
$.ajax({
type: "get",
async : false,
url:"http://172.18.22.100:8088/fish-web-yihua/rest/question/getDemandList?iType=2&id=12136&userCode=admin",
dataType:"jsonp",
success: function(json){
alert(1);
alert(json);
},
});
});
直接在网上输入地址url能够去到json值,为什么用ajax取不到,,又没报错,输出 undefind
求帮忙