Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window.opener.location.reload(); don't work

Status
Not open for further replies.

giuseppeitaliano

Programmer
Aug 26, 2003
2
IT
I have a jsp page with a table which contains data from a database.
From this page I open a popup window that permits to update these informations.
So from popup window (also jsp page) I submit a servlet and before closing it with wondow.close(), I try to update opener window with:

window.opener.location.reload();

but it sometimes works and sometimes not.
Is there any explanation of this?
Thanks in advance.
 
i would say when the parent or child window is submitted, there is a chance that the reference between the two will be lost, thus window.opener becomes null.

in my experience though i use a child window (in IE) that submits/navigates from the original page often yet the opener reference is persisted.



=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top