javascript location.hash refreshing in IE

Posted by aepheus on Stack Overflow See other posts from Stack Overflow or by aepheus
Published on 2010-04-08T17:53:42Z Indexed on 2010/04/08 18:13 UTC
Read the original article Hit count: 190

Filed under:
|
|
|
|

I need to modify the hash, remove it after certain processing takes place so that if the user refreshes they do not cause the process to run again.

This works fine in FF, but it seems that IE is reloading every time I try to change the hash. I think it is related to other things that are loading on the page, though I am not certain. I have an iframe that loads (related to the process) as well as some scripts that are still being fetched in the parent window.

I can't seem to figure out a good way to change the hash after all the loading completes. And, at the same time am not even positive that it is related to the loading.

Any ideas on how to solve this?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about location