Intercept close Popup from Parent Page

Posted by sangi on Stack Overflow See other posts from Stack Overflow or by sangi
Published on 2010-06-14T16:50:47Z Indexed on 2010/06/14 16:52 UTC
Read the original article Hit count: 220

Filed under:
|

Hi all, I have a question. In an html page, I have javascript code that allows me to open and close a popup window by clicking on a link displayed in the link, so the text displayed in the link changes to the state of the popup window (open-closed).

With a variable true / false I manage the opening and closing of the popup window to click on a link whose text is aligned "opened popup" / "closed popup".

The next step is to make this same change in state (true / false, "opened popup" / "close popup") directly by closing the popup window. The idea is to not have to refresh the page. Is this possible?

Thank you and best regards

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about popup