[jQuery] Re: how to get the response header of an ajax request

2009-07-16 Thread James
Using $.ajax(), when you set a 'complete' callback function, the XHR object should be provided for you, which you're able to use to get the response headers. On Jul 16, 3:56 am, jeanluca wrote: > $.ajax({ >   type: "GET", >   url: my_url, >   async: false > > }).getAllResponseHeaders() ; > > On

[jQuery] Re: how to get the response header of an ajax request

2009-07-16 Thread jeanluca
$.ajax({ type: "GET", url: my_url, async: false }).getAllResponseHeaders() ; On Jul 16, 11:31 am, jeanluca wrote: > Hello > > I want to access the headers of pages I load through ajax. However I > don't know how to do this with jQuery > > First of all, I'm only interested in the headers, n