Re: Refresh a frame?
| From: | Torsten Roehr | Date: | Wed, 09 Jun 2004 20:10:21 +0000 |
| Subject: | Re: Refresh a frame? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187975@lists.php.net to get a copy of this message | ||
"Robert Sossomon" <robert@gcnorris.com> wrote in message
news:001c01c44e5c$d0570c60$6601010a@root2...
> I am in need of a way to reload a page within a frame as the other
> frames are used to modify the information.
>
> I have a 3-frame site now that I am using 1 frame as a list, another
> frame to add the information, and the 3rd frame to show the results of
> the 2nd frame. I know how to do the location: URL for the full page,
> but how do I do it for JUST a single page?
More a JavaScript than a PHP question, but anyway:
parent.frames[0].location.href = 'index.html';
I think you can also use the frame name:
parent.myFrame.location.href = 'index.html';
Regards,
Torsten Roehr