Reading URL Anchor on IE
Posted
by tominated
on Stack Overflow
See other posts from Stack Overflow
or by tominated
Published on 2010-04-29T23:37:58Z
Indexed on
2010/04/29
23:47 UTC
Read the original article
Hit count: 402
Hi, I've got a page full of links to another page with anchors on the end (like this: index.html#anchor). On the page they point to, I have a script that is supposed to read where the anchor points to in order to display something.
On firefox it works perfectly, But I've noticed that IE seems to remove the #anchor from the end of the url, so the script can't grab the text. Is there a way around this, without any server side code?
© Stack Overflow or respective owner