posted 13 years ago
You are submitting the page. It starts to leave the page
It is a coin flip that the next lines of JavaScript runs.
Chrome is doing what it should do. It says the form is submitted, exit the page and stop running more code.
The redirection should be done on the serverside, or you need to redesign how you do the submission. It is as simple as passing the redirect value in a form filed and calling redirect on the server with that value.
If you can not change the form on the server, than you need to look at a different way to submit the form. That would be an Ajax submission.
Eric