How to remove iframe from parent page using a function inside the iframe?

Posted by Amr ElGarhy on Stack Overflow See other posts from Stack Overflow or by Amr ElGarhy
Published on 2010-06-13T17:12:57Z Indexed on 2010/06/13 17:22 UTC
Read the original article Hit count: 205

Filed under:
|
|

I have an iframe i put on a page using a bookmarklet, i want this iframe to close its self when a i navigate to a certain page inside this iframe.

How to do that using javascript?

Note: iframe and container page are in different domains.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery