Let a child window redirect the parent window (IE7)

Discussion in 'JavaScript' started by casper, Feb 24, 2007.

  1. #1
    Hi guys,

    I have an HTML page which opens a popup window (which is the child in this case). When the visitor clicks on a specific link on the popup, the parent is being redirected to a different page. I'm using opener.location to do this and it works fine in both Fx and IE6. In IE7 however, the opener.location does not work anymore and I cannot seem to get this to work. The popup and the normal screen are both located on the same domain.

    I've searched for days but I really can't find a solution.

    Has anyone got any ideas on how to fix this? I'm stuck!

    thx in advance!


    caps
     
    casper, Feb 24, 2007 IP
  2. Jeyush

    Jeyush Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi mate,

    I have a problem in javascript/php/ajax.

    Look I have three pages 1)index.php 2)login.php 3)client.php. At index.php I have a link to login page, it opens a popup. When I submit the login page and try to redirect to client page, Here is the problem arise.

    I successfully redirect to the client page but it opens in popup window.

    Would you help me? I want, when I click on submit the client page open at same location on parent window.

    Any help would be appreciated.

    Cheers!!!
     
    Jeyush, Sep 2, 2009 IP