I'm kind of baffled. I'm using a fairly simple script to refresh a frame:
Roughly 3/4 of the time this work exactly as expected and the other frame loads the specified URL. But then other times it just... doesn't. At first I thought it was some quirk of IE9, but FF10 does the same thing. In both cases the browser's javascript console shows no errors or warnings. The code just intermittently doesn't execute.
Notably, that code posted is the entire contents of one frame. Sometimes when the frame loads with that content, the javascript executes. Other times when it loads with byte-for-byte identical content, nothing happens.
Code:
<script type="text/javascript">
window.top.frame_name.location = "/file.php";
</script>
Roughly 3/4 of the time this work exactly as expected and the other frame loads the specified URL. But then other times it just... doesn't. At first I thought it was some quirk of IE9, but FF10 does the same thing. In both cases the browser's javascript console shows no errors or warnings. The code just intermittently doesn't execute.
Notably, that code posted is the entire contents of one frame. Sometimes when the frame loads with that content, the javascript executes. Other times when it loads with byte-for-byte identical content, nothing happens.