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

B

bb

I am trying to force an iframe to refresh from the server using the
following javascript:

document.frames("frm").document.location.reload(true)

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 :)
 
T

Thomas 'PointedEars' Lahn

bb said:
I am trying to force an iframe to refresh from the server using the
following javascript:

document.frames("frm").document.location.reload(true)
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top