www.webdeveloper.com
Results 1 to 3 of 3

Thread: redirecting the _parent window (Not in a frame)

  1. #1
    Join Date
    Jan 2004
    Location
    Boston, MA
    Posts
    126

    redirecting the _parent window (Not in a frame)

    I have an html page(parent) that pops another page(child). I have no way of knowing or setting the name of the parent page.

    From a button on the child page, I would like to be able to redirect the parent page to another page.

    It seems like this can be done using opener.redirect('somePage.htm');

    But I am having no luck with this.

    Can this be done? Does anyone know how?

    Thanks.

    _t
    I don't feel tardy.

  2. #2
    Join Date
    Nov 2003
    Location
    Worthington, OH, USA
    Posts
    3,634
    opener.document.location.href="NewURL";
    54 68 65 42 65 61 72 4D 61 79

  3. #3
    Join Date
    Jan 2004
    Location
    Boston, MA
    Posts
    126
    Excellent! That worked as expected.

    Thanks Bear!

    _t
    I don't feel tardy.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles