I believe that jQuery Form extends jQuery's native $.ajax method, so
you could use the options for $.ajax also. In $.ajax options, there's
an 'error' callback for non-success responses. Additionally, there's a
'complete' callback which also passes a reference to the
XMLHTTPRequest object (the core of what handles the AJAX call), in
which you're able to look at HTTP Header Responses and such.

On Jul 16, 4:55 am, Ícaro Dourado <icar...@gmail.com> wrote:
> Hi everyone,
> First, I have to say the jquery form is just perfect and fills very
> well a common issue for those who need to work with ajax.
> I would like to know, or even sugest a new feature if it is the case:
> how can we get, on client side and after an 'ajaxSubmit' call, the
> error code produced on server side? Is it possible to include such
> function on jquery form? Because we already have a 'success' callback
> functionality, how about a 'failure' one?

Reply via email to