sendhelp
asked on
Javascript Refresh Parent
From a drop down menu link(that is in Flash) a pop up window comes up. In that pop up the user can then choose to close the window or continue on to the new page. In both cases, I need to have the parent window to refresh or to be redirected back to the index page. My functions either go to the new page or close the window. Would I need window.opener to be used?
function newPage(newURL){
window.open(newURL, 'newWindow', '');
window.close();
window.close();
}
function windowClose(){
window.close();
}
ASKER
I don't want to close the parent from the child, I want to refresh it or redirect it to index.
ASKER
I should say that I want to refresh the parent when I close the child.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This website could be helpful:
http://forums.devarticles.com/javascript-development-22/how-to-close-parent-window-from-child-window-21012.html