I have the following code:
$.get('http://www.example.org', {a:1,b:2,c:3}, function(xml) {}, 'xml');
Is there a way to fetch the url used to make the request after the request has been made (in the callback or otherwise)?
I want the output:
http://www.example.org?a=1&b=2&c=3
I can’t get it to work on
$.get()because it has nocompleteevent.I suggest to use
$.ajax()like this,craz demo