Anwar Gilani
Anwar Gilani

Reputation: 23

IFRAME javascript close()?

I can't seem to get self.close() to work on iframes. I know they aren't popups so it's quite normal that they don't but is there a work around?

Upvotes: 2

Views: 1425

Answers (1)

Parcye
Parcye

Reputation: 98

closing an iFrame is something the parent should do. Eg by just removeing it as Frank Astin demonstraes in his link.

Upvotes: 1

Related Questions