The frameset and the pop up page must be on the same domain:
Code:
window.opener.top.location.reload();
However, what do you expect to happen? This will refresh the opening page's top frameset. What this means is that in FF the pages currently in that frameset will reload. In IE they will go back to their starting pages.
If you want to always reset the pages in the frameset to their starting pages, you would have to specify the location (still requires frameset and pop up page on the same domain):
Code:
window.opener.top.location = 'name_of_the_frameset.htm';
If the path to the frameset is different than the path of the pop up, it should be given along with the filename.
To get them to always just refresh their current pages, even in IE - that's a little tricky:
Code:
function refreshOpenerTopFrameset(){
var f = window.opener.top.frames;
for (var i = f.length - 1; i > -1; --i)
f[i].location.reload();
}
And that will only work if all the pages in the frameset, the pop up page, and the frameset page are on the same domain.
Bookmarks