Hi, I really need help with this weird problem with the reload function.
I'm trying to reload a page if that page is visited. Here is my code:
My problem is this. In firefox, it works fine, but in ie, it reloads in an infinite loop. What am I doing wrong? Thanks.
I'm trying to reload a page if that page is visited. Here is my code:
Code:
if(window.name=="TEST"){ window.name=""; } else{ window.name="TEST"; javascript:location.reload(true); }
My problem is this. In firefox, it works fine, but in ie, it reloads in an infinite loop. What am I doing wrong? Thanks.