By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,472 Members | 1,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,472 IT Pros & Developers. It's quick & easy.

Problem refreshing iFrame with document.location.reload(true)

P: n/a
bb
I am trying to force an iframe to refresh from the server using the
following javascript:

document.frames("frm").document.location.reload(tr ue)

The iframe html is:
<iframe id="frm" name="frm" src="https://ourdomain/..." width="0"
height="0" border="0"></iframe>

The parent and iframe are both hosted in the same domain, and are both
https.

This works in IE 5.5 and 6, but NOT in IE5.0 (I get an 'unspecified'
error.)

As usual, any help is greatly appreciated :)
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
bb wrote:
I am trying to force an iframe to refresh from the server using the
following javascript:

document.frames("frm").document.location.reload(tr ue)
Try

window.frames["frm"].location.reload(true);

instead.
This works in IE 5.5 and 6, but NOT in IE5.0 (I get an 'unspecified'
error.)


What is an "'unspecified' error"?
PointedEars

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.