摘要:
设置timeout的时间,通过检测complete时status的值判断请求是否超时,如果超时执行超时的操作。 $.ajax({ url:'', timeout : 1000, //超时时间设置,单位毫秒 type : 'get', data :{}, dataType:'json', success:function(response){ alert(... 阅读全文
posted @ 2017-06-07 23:00
detanx_墨鼬漓
阅读(246)
评论(0)
推荐(0)
浙公网安备 33010602011771号