Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I close a popup opened window.open() from within a frame

  • 1 svar
  • 0 har dette problemet
  • 1 view
  • Siste svar av cor-el

more options

I open a popup window with javascript:window.open(). That action loads a frames page in the popup. From within that frame I want to close the popup with window.close(). All the 'hacks' I found such as: window.opener = self;window.close() do not work. How do I accomplish this ? Grrr!

I open a popup window with javascript:window.open(). That action loads a frames page in the popup. From within that frame I want to close the popup with window.close(). All the 'hacks' I found such as: window.opener = self;window.close() do not work. How do I accomplish this ? Grrr!

All Replies (1)

more options

A good place to ask questions and advice about web development is at the MozillaZine Web Development/Standards Evangelism forum. The helpers at that forum are more knowledgeable about web development issues. You need to register at the MozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25