Refresh one frame from link in another frame?

N

Noozer

I've tried Google and found many solutions, but can't seem to make any of
them work...

I have a frameset that contains two frames... "nav" and "pages". In the nav
frame I have a link called "refresh". When I click this link I want the
content of the pages frame to refresh the same as if I had right clicked the
frame and chose REFRESH from the menu.

I've tried the following (and many more) with no success.

<span style="float:left; cursor:hand;"
onclick="parent.frames['pages'].location.reload();"> Refresh</span>
<span style="float:left; cursor:hand;" onclick="parent.pages.history.go();">
Refresh</span>
<span style="float:left; cursor:hand;" onclick="parent.pages.reload();">
Refresh</span>

How can I refresh the pages from from a link in the nav frame???
 

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

Forum statistics

Threads
473,904
Messages
2,570,003
Members
46,359
Latest member
thejackson123

Latest Threads

Top