OZONE Asylum
Forums
DHTML/Javascript
trying to reload iframe from other iframe
This page's ID:
30892
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I'm trying to reload a page in an iframe (a content page) from a page in another iframe (hidden, that checks for updates). The parent for both of these iframes is the main window. I'm trying to do this with javascript. The following is the source code that loads into iframe fr1, which is trying to reload iframe fr2. [code] function updateWindow() { window.frames[fr2].location = url; } window.onload = updateWindow;[/code] But this doesn't seem to be working. What am I doing wrong here?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »