Thanks, thats what I was looking for. But it seems not to work when a file is uploaded. Any ideas how to get header in that case?
On Jul 25, 12:47 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > 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 theformplugin uses the $.ajax > method under the hood. Any options that $.ajax supports can be used > with theformplugin 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