var req = $.ajax({type: "POST",url: "someurl",data: "id=1″,success: function(){ }});//取消ajax请求req.abort()//该片段来自于http://www.codesnippet.cn/detail/211220121128.html
来源: http://www.codesnippet.cn/detail/211220121128.html