[jQuery] how to get the response header of an ajax request
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, not its content, so
$('#someID').load("somefile.html") ;
is not really what I want.
Is there a way I can get the XMLHttpRequest object so I can do
xmlDoc.getAllResponseHeaders()
Thnx in advance