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

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Rainbow1995/article/details/77618736
async:true; //  true为异步,默认异步,false为同步


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

猜你喜欢

转载自blog.csdn.net/Rainbow1995/article/details/77618736