Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Close popup from page contained in iframe

    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.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,919
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Google is your friend!

    http://deluxe-menu.com/rq-dhtml-popu...e-support.html

    Permission denied error while invoking javascript method

    Gritters will be working around the clock for the next few hours. - BBC Scotland News.
    Last edited by Philip M; 06-22-2009 at 12:43 PM.

  • #3
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hello Phillip

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •