Refreshing different frame when one event occurs on a frame.

January 2, 2003 by viswa Peesapati

I had the similar problem. I had three frames TOP, LEFT and RIGHT.

When I press a button in the RIGHT frame, left frame should be refreshed with a different page.

So, I have written a javascript function and called it in button_click event. It worked for me. try the following.

function refreshLEFT(){
   parent.frames[1].location.href="menu.asp";
}

For your need, you may have to replace '1' with appropriate value. (0-3), depeniding on which window you wish to refresh.

Thanks

Viswa
and very next to that function I gave call to that function and it worked. I tried with the other options mentioned by jux82 and also mattjp88, but they did not work

RE: Refreshing different frame when one event occurs on a frame.

June 3, 2003 by daniel tubau