function do_do(){
$.ajax({
async: false,//打开异步请求
type:"post",
dataType:"json",
url:"http://127.0.0.1:8080/phpbin/index.php",
success:function(res){
$("#div").append(res);
},
error:function(err){
$("#div").append("错误"+err);
alert("错误请求")
}
})
**对url单独访问的时候是能 返回数据的 这是怎么回事啊? 这也太神奇了*(没有积分了,谅解一下 )*