Hyperlink (a href) with a pound sign at the end doesn't do anything in Firefox

Posted by chiurox on Stack Overflow See other posts from Stack Overflow or by chiurox
Published on 2010-06-14T21:15:42Z Indexed on 2010/06/14 21:22 UTC
Read the original article Hit count: 192

Filed under:

I have a link that is somewhat like this:

<a href="------.html#video">Text</a>

It works fine in IE but not in Firefox. In Firefox it shows the new URL on the address bar but doesn't update or change anything in terms of content. Somehow the "#" is causing Firefox to ignore updating the page. I tried using Javascript "window.location" and "window.location.href" and all sorts of other things but it still doesn't work. Does anyone have any idea how to fix it? Thanks!

© Stack Overflow or respective owner

Related posts about html