How to fire off an AJAX request and redirect AFTER making the request?

onlyseoblo

New Member
I am making use of JQuery to fire off an AJAX request. As soon as that PHP script is initiated I want to redirect my browser to a different page. But the AJAX request must have been fired off successfully, it doesn't matter what that scripts returns. Currently I do the following, but it redirects instantly whilst the script was requested partially.\[code\]$.get('process.php');location.href = 'http://stackoverflow.com/questions/2039285/result.php';\[/code\]Thanks all for any help
 
Back
Top