redirect wont work in Chrome
Posted
by Camran
on Stack Overflow
See other posts from Stack Overflow
or by Camran
Published on 2010-06-07T10:48:11Z
Indexed on
2010/06/07
10:52 UTC
Read the original article
Hit count: 132
I have a form on my website. When this form is filled out, it is then validated by a javascript validation function.
At the bottom of this function I have this piece of code:
window.location="../index.html";
This wont work on Chrome, but does work in Firefox.
My Q is, how can I make this simple redirect work on all (most) browsers?
Thanks
© Stack Overflow or respective owner