Click to See Complete Forum and Search --> : Window.Opener


darenh
08-12-2003, 05:42 AM
I have a frameset. topFrame and mainFram. In the mainFrame I use the window.open() command. I wish to refresh the mainFrame via a link in the Pop Up Window.

I can do this no worries if I was to NOT use or trigger the pop up from a normal window (window.opener.location.href =http://www.mysite.com/new.htm), but this doeas not work for frames?

Is this true? If so what would the code be to refrsh the mainFrame?

Please Help

requestcode
08-12-2003, 06:43 AM
Try opener.document.mainFrame.location.href="http://www.mysite.com/new.htm"

You have to specify the frame name that the page is in.