Hi, I am facing a problem with refreshing parent:
Parent window : A
From A I am opening a child window B using
- window.open("","EVENT_DETAILS_WINDOW","height=310,width=480,top=150,left=200,status=yes,resizable=yes,scrollbars=yes");
-
form.target="EVENT_DETAILS_WINDOW";
-
form.action= "event.jsp"
-
form.submit();
-
From B I am opening a another window C and closing window B the code..
- window.open("editEvent.jsp","EVENT_EDIT_WINDOW","height=500,width=515,top=150,left=200,status=yes,resizable=yes,scrollbars=yes");
-
form.target="EVENT_EDIT_WINDOW";
-
form.action= "event?action=edit"
-
form.submit();
-
self.close();
-
The problem is I am unable to reload parent window from window C with :
window.opener.location.reload();
self.close()
OR
window.opener.opener.location.reload();
self.close().
Please help me on how to refresh the parent from child C when middle child closes