Very body! I always have used ajaxError events. The problem with ajaxError it's global event.
And I never see documentation about $.httpSuccess Now I will try do like you said. Thank you. On 25 out, 10:33, Mike Alsup <[EMAIL PROTECTED]> wrote: > > And If I want handle to catch AjaxError in ajaxComplete? > > > Exist a way? > > You can still use ajaxError to trap errors. Also, the XHR object is > passed to ajaxComplete callback as the 2nd arg so you can test for > success like this: > > $().ajaxComplete(function(event, xhr, settings) { > var success = $.httpSuccess(xhr); > if (!success) { > // do something > } > > });