I used the example on the plugin website and in the method they present I am trying to use the xhr parameter:
function showResponse(responseText, statusText, xhr, $form) {
alert('status: ' + statusText + '\n\nresponseText: \n' + responseText +
'\n\nThe output div should have already been updated with the responseText.');
var headers = xhr.getAllResponseHeaders();
alert(headers);
}
Did anyone encounter the same issue? I want to get the cookie so that I can set it manually. Thanks!