View Full Version : Close popup from page contained in iframe

06-22-2009, 12:37 PM
Hello All,

I have one pop up and in pop up I am using IFRAME,I want to close pop up from page contained in IFRAME.I tried using "window.parent.close();" but I am getiing
permission denied error in javascript.This code work great on local server but getting error on clients server.

Please help me out as its very urgent.

Thanx in advance.

Philip M
06-22-2009, 01:26 PM
Google is your friend!



Gritters will be working around the clock for the next few hours. - BBC Scotland News.

06-22-2009, 01:36 PM
Thanx for your reply

But I want to close pop up by clicking cancel button of IFRAME child page
The script should also work in firefox.