Q: iframes & refresh
- Started
- Last post
- 4 Responses
- Monsterjoe
Hi,
i have a page that contains 2 iframes (frame1 & frame2) i want to make a button on the page loaded in frame1 that refreshes frame2.
im not that good at javascript and i dont know how to locate frame 2.
what i got is this:
document.parent.framename.reload...
but this doesnt work. any ideas?
- ********0
You don't need JS.
Just link to the file that needs to be refreshed in frame 2, and set..target="frame_2" or whatever the iframe is called....
- ********0
I *think* the java would be:
document.framename.reload();
But don't quote me. I'm not good with JS.
- Monsterjoe0
nah just said i need a button to keep is simple :P
frame1 contains a php page, when this page is being processed i need to reload the page in frame2document.framename.reload();
doesnt work because(i think) this points to frame2 "into" the php page and not the page that contains the frames...
- Monsterjoe0
jo anyone knows how to do this?