window.location.href = url;
This command gets executed (proofed with alert messages) but nothing happens. Firefox acts like expected but i couldn't get it work in IE.
I have finally found the solution after some google search.
RedirectUrl = url;
setTimeout( "window.location.href = RedirectUrl", 0 );
Another solution says that if you set this from the window.location.href in a Javascript function, is enough to return false. Check this out: IE bug.
Hiç yorum yok:
Yorum Gönder