如何检测ajax因网络断开或延时导致的错误并重连答:.ajax({async : true , //true异步,false同步url : '',data : $(this).serialize() ,type : 'get',dataType : 'json' , //xml,html,script,json,jsonp,textcomplete : function(XHR ,TS){ alert('complete');} , //完成回调函数(XHR, TS)error : function(XML...