ajax 异步请求 async:true;// true为异步,默认异步,false为同步

来源:互联网 发布:国家人社局软件 编辑:程序博客网 时间:2024/06/06 19:02
async:true; //  true为异步,默认异步,false为同步

$.ajax({    type: '',    url: '',
    async:true;   //  true为异步,默认异步,false为同步
    data: 
dataType: '',
success:function(data){
},    error:{
}