Perfect. Thanks Mike. Am I right in thinking this isn't in the docs @ http://www.malsup.com/jquery/form/ ?
On May 28, 1:23 pm, Mike Alsup <mal...@gmail.com> wrote: > > Does anyone know how or if this its possible to get the response > > headers using the jQuery Form Plugin? I've got a success function > > which needs to get access to a response header I'm setting. > > The XHR is not passed to the 'success' callback, but it is passed to > the 'complete' callback and to the ajaxSuccess and ajaxComplete > events. The form plugin accepts all of the same options as the jQuery > $.ajax function.