针对特定事件的ajaxStop

I read this question but it did not help much because of success:function. it do not understand completion of Ajax response. Do anyone know how to use Ajax stop for specific events ?

Detail : I have an Ajax code which sends a request and I want it to do something when it gets a response. I do that by the following function but it gets all documents of Ajax and I cant add any Ajax to the page.

$(document).ajaxStop(function() {
                ....;
                alert("start");
});
查看全部
weixin_33712987
weixin_33712987
2013/04/09 20:05
  • ajax
  • jquery
  • 点赞
  • 收藏
  • 回答
    私信

1个回复