Các câu trả lời gần đây cho html document inside iFrame does not reload when Firefox is refreshedhttps://support.mozilla.org/vi/questions/7605672011-01-27T20:56:54-08:00And if you encounter problem using both javascript window.onload or html body onload, then try this&2011-01-27T20:56:54-08:00an-conhttps://support.mozilla.org/vi/questions/760567#answer-133028<p>And if you encounter problem using both javascript window.onload or html body onload, then try this&nbsp;:
</p><p>try to put window.onload = yourcode; together with body unload.
</p><p>i have the tool tip javascript on &lt;head&gt;&lt;/head&gt; which contain
window.onload = initTip;
but conflict with my onload iframe
&lt;body onload = "parent.myframe.location='mypage.html'"&gt;
</p><p>my solution&nbsp;:
delete that window.onload = initTip; from &lt;head&gt;&lt;/head&gt;, then put them into &lt;body&gt;.
</p><p>&lt;body onload = "initTip(); parent.myframe.location='mypage.html'"&gt;
</p>it's work with reload button on firefox
but the point is delete your src="mypage.html" code from ifr2011-01-27T20:53:13-08:00an-conhttps://support.mozilla.org/vi/questions/760567#answer-133026<p>it's work with reload button on firefox
</p><p>but the point is delete your src="mypage.html" code from iframe then place it in body onload with this script. example&nbsp;:
</p><p>I have
&lt;iframe name="myframe"
width="100%" frameborder="no" height="1400px" scrolling="no" onload="return function_name();" src="mypage.html"&gt;
&lt;/iframe&gt;
Then i del the src="mypage.html" code.
</p><p>in body segment i put this:
&lt;body onload = "parent.myframe.location='mypage.html'"&gt;
</p>I continue to see people on forums etc complaining about this. One person has even listed the bug re2010-10-26T18:43:40-07:00grantcollhttps://support.mozilla.org/vi/questions/760567#answer-113088<p>I continue to see people on forums etc complaining about this. One person has even listed the bug reference in Firefox.
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=356558" rel="nofollow">https://bugzilla.mozilla.org/show_bug.cgi?id=356558</a>
</p>No, but it does reload if you Right Click inside the iframe, and choose This Frame | Reload Frame, t2010-10-25T11:56:38-07:00grantcollhttps://support.mozilla.org/vi/questions/760567#answer-112816<p>No, but it does reload if you Right Click inside the iframe, and choose This Frame | Reload Frame, then it reloads. But customers don't know to do that.
</p>Does it work if you reload and bypass the cache via Ctrl+F5 or a via Shift + Reload ?
2010-10-25T10:54:08-07:00cor-elhttps://support.mozilla.org/vi/questions/760567#answer-112806<p>Does it work if you reload and bypass the cache via Ctrl+F5 or a via Shift + Reload&nbsp;?
</p>The page loads just fine after the the iframe is refreshed, it just does not reload when the page is2010-10-24T14:23:45-07:00grantcollhttps://support.mozilla.org/vi/questions/760567#answer-112619<p>The page loads just fine after the the iframe is refreshed, it just does not reload when the page is refreshed. Its a cache problem. Please don't criticise other peoples work. This is a bug in firefox, otherwise it wouldn't load correctly to start with.
</p><p>There are tons of people complaining about this, and doing workarounds in Javascript.
</p>http://validator.w3.org/check?uri=http://www.ctas.co.nz/WebscreenNZSBK.aspx
You're missing the three2010-10-24T14:08:51-07:00the-edmeisterhttps://support.mozilla.org/vi/questions/760567#answer-112615<p><a href="http://validator.w3.org/check?uri=http://www.ctas.co.nz/WebscreenNZSBK.aspx" rel="nofollow">http://validator.w3.org/check?uri=http://www.ctas.co.nz/WebscreenNZSBK.aspx</a>
</p><p>You're missing the three basics of a good web page:
</p>
<ol><li> Parse Mode
</li><li> Doctype
</li><li> Character Encoding
</li></ol>
<p>Firefox does a better job when the page is presented in a Standards Compliance Mode, instead of Quirks Mode. - <a href="http://en.wikipedia.org/wiki/Quirks_Mode" rel="nofollow">http://en.wikipedia.org/wiki/Quirks_Mode</a> - You're putting Firefox in the position of having to guess how you expect the page to be displayed.
</p>