日期:2014-05-17  浏览次数:20601 次

请大侠帮忙调个接口
大侠帮忙看看这个接口用js该如何调啊(在线等)
http://221.130.163.105:8080/clt/weather/getWeatherByCity.msp
js

------解决方案--------------------
额,这不是ajax吗?返回给你的是json吧!
------解决方案--------------------


$.ajax({
        url:"http://221.130.163.105:8080/clt/weather/getWeatherByCity.msp",
        type:"get",
        success:function(json){
                alert(json);
},
error:function(json){
alert(json);
}
});

表示不会