Popup window opener reload from iframe

Discussion in 'Javascript' started by Raffi, Mar 25, 2007.

  1. Raffi

    Raffi Guest

    Hi,

    I have an application where a link in an iframe in the main page opens
    a popup with another iframe. This popup iframe has links which when
    clicked should reload the main page and/or the iframe in the main
    page. The following works with IE but fails with Firefox.

    top.opener.history.go(0);

    Any help on why this is not working or what will work is greatly
    appreciated.

    Thanks,
    Raffi
     
    Raffi, Mar 25, 2007
    #1
    1. Advertising

  2. Raffi

    OmegaJunior Guest

    On Sun, 25 Mar 2007 11:37:47 +0200, Raffi <> wrote:

    > Hi,
    >
    > I have an application where a link in an iframe in the main page opens
    > a popup with another iframe. This popup iframe has links which when
    > clicked should reload the main page and/or the iframe in the main
    > page. The following works with IE but fails with Firefox.
    >
    > top.opener.history.go(0);
    >
    > Any help on why this is not working or what will work is greatly
    > appreciated.
    >
    > Thanks,
    > Raffi
    >


    One reason for failure would be cross-site-security. Are the main page and
    the iframe in different domains?

    --
    Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
     
    OmegaJunior, Mar 31, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Sko=?=
    Replies:
    1
    Views:
    2,242
    =?Utf-8?B?dmluYXk=?=
    Oct 12, 2004
  2. Matt Jensen
    Replies:
    1
    Views:
    5,271
    Matt Jensen
    Dec 16, 2005
  3. Urs Gubler
    Replies:
    0
    Views:
    170
    Urs Gubler
    Jul 2, 2003
  4. window.opener, form.opener?

    , Jul 14, 2006, in forum: Javascript
    Replies:
    5
    Views:
    302
  5. Bruce
    Replies:
    3
    Views:
    184
    Bruce
    Oct 6, 2008
Loading...

Share This Page