1// Remember to add JQuery to your html head!
2
3var xhr = $.ajax({
4 url: 'someurl',
5 complete: function(data) {
6 // Access your response headers by using return value
7 xhr.getResponseHeader("date"); // Specify here the type of header
8 }
9});