In my project I have several ajax global events.
In
$(document).ajaxSend(function(event, jqxhr, settings) {
//
});
I can get requested url from settings.url
But how can I get url from response from this request in
$(document).ajaxComplete(function (e, jqxhr) {
//
});
The only object that contains requested url here is arguments[2].url
Is there other way to obtain requested url from response, because I'm not sure in such object as arguments[2].url?
arguments[2].url...why not?