[jQuery] location after redirect
Hello everybody. Hope you can help me with this problems.
I am doing an ajax request as follows:
$.ajax({'type':'post','url':url,
'complete':function(xhr,text){ .... } });
now $.ajax follows the redirect to the page I eventually get in text
is not necessarily the original url. I cannot determine it from
xhr.getReponseHeader(...). Is there a way to determine the url of the
page I get?
Thank you jQuery. It is great!
Massimo