You can defined a "complete" handler.  This handler is passed the XHR
and status.  For example:

$('form').ajaxForm({
   complete: function(xhr, status) {
        var ct = xhr.getResponseHeader("Content-Type"));
        alert("content type is: " + ct);
   }
});

Note that this is possible because the form plugin uses the $.ajax
method under the hood.  Any options that $.ajax supports can be used
with the form plugin as well.

Mike


On 7/24/07, x0nix <[EMAIL PROTECTED]> wrote:

Hi,

is there a way how to access XMLHttpRequest (it's headers) returned
after submiting ajaxForm?

Thanks


Reply via email to