I am storing AJAX requests for further treatment in an array, with requests.push($.post('/validate', postData)); within a .each() loop.
When I dump these objects, the Chrome web inspector show this:
Object {readyState: 1, getResponseHeader: function, getAllResponseHeaders: function, setRequestHeader: function, overrideMimeType: function…}
And so on, for each objects of the array. In these objects, I want to get the responseText (the data returned by the AJAX query). I can't figure out how to do it.
request.responseText doesn't seem to work.