windows.location.href not working on Firefox3
Posted
by julio.g
on Stack Overflow
See other posts from Stack Overflow
or by julio.g
Published on 2008-11-08T19:39:21Z
Indexed on
2010/03/23
3:51 UTC
Read the original article
Hit count: 476
JavaScript
|firefox
We have a javascript funtion named "move" which does just "windows.location.href = any given anchor".
This function works on IE, Opera and Safari, but somehow is ignored in Firefox. Researching on Google doesn't produce a satisfactory answer why it doesn't work.
Does any javascript guru knows about this behavior, and what would be the best practice to jump to an anchor via javascript?
© Stack Overflow or respective owner