Click to See Complete Forum and Search --> : redirecting the parent window to a specific URL


alli
03-26-2003, 09:59 AM
Right now I am able to close the popup window and reload the parent window with the code:
window.opener.location.reload();
window.close();

However is it possible to close the popup window and redirect the parent window to a different URL, and not reload the same page from which the popup window came from?

Thanks

gil davis
03-26-2003, 10:18 AM
If this works:window.opener.location.reload();then this should work just as well:window.opener.location.href = "someURL.htm";

havik
03-26-2003, 10:18 AM
Try:

window.opener.location = "URL";

That should work

Havik

alli
03-26-2003, 10:26 AM
Thanks so much

window.opener.location.href ="URL"
did work for me