81,122
社区成员




$.getJSON("http://www.w3school.com.cn/example/jquery/demo_ajax_json.js",
function(result) {
alert(result);
}
);
var htmlobj=$.ajax({url:"http://www.w3school.com.cn/example/jquery/demo_ajax_json.js",async:false});
alert(JSON.parse(htmlobj.responseText).firstName);