473,320 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
1 22875
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ed Blinn | last post by:
Can someone tell me why this script will only work on a Mac with Internet Explorer. Thanks, Ed <html> <head> <script type="text/javascript"> //Square Root
2
by: Chumley the Walrus | last post by:
Is there a method in onClick event to refresh the browser. I'd like to have users click on a link to listen to a streaming audio feed, but at the same time as the click, refresh the browser so that...
3
by: Dan M | last post by:
Is it possible to redirect or refresh the contents of Page1 from within Page2 where Page2 was opened by Page1?
5
by: Jacob | last post by:
How do I refresh an iframe via JavaScript from the parent page? /Jacob
8
by: Grzegorz | last post by:
Hi! my problem: I open a pop-up window and try to refresh it contents every 30 seconds. the code below works in Firefox browser but in IE i get Permission Denied error. any suggestions how to...
2
by: mayla_i | last post by:
Hello experts I have this question which confuse me! so please help me Is there a difference between clicking on the refresh button in the browser and writing this command:...
2
by: gsuns82 | last post by:
hi all,I want to reload the parent window from the child Window in mozilla fire fox browser,i tried these following stuffs by calling events in onunload in child Window. *...
8
by: Martin Honnen | last post by:
VK wrote: Mozilla has document.height document.width IE has scrollHeight/scrollWidth, depending on compatMode you will need these properties of document.documentElement or document.body --
3
by: gsuns82 | last post by:
Hi all, I am using modal window for some update purpose, the issue i am facing is,i am not able to refresh parent after closing modal window. The code i used: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.