Here's my situation. I have a "main page" that uses an iframe in it. The iframe page has a link in it that opens another window via javascript popup. I then allow the user to do some database interaction within the popup. What I wanted to happen, is that after the database interaction is done, the window closes and the main page reloads to reflect the data changes. Within the popup, I used:
window.opener.location.reload();
window.close();
The problem here is, the opener is the iframe, not the main page, so only the iframe updates. How can I get the popup window to talk with the main page and get it to reload without it having a parent/child relationship with it?
Any help would be greatly appreciated.
window.opener.location.reload();
window.close();
The problem here is, the opener is the iframe, not the main page, so only the iframe updates. How can I get the popup window to talk with the main page and get it to reload without it having a parent/child relationship with it?
Any help would be greatly appreciated.