SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2001
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    window.opener.document.reload???

    How would one do this

    open a pop up window, and when done executing something in the pop up window, refresh the opening window and then close the pop up..

    I'm thinking something like


    window.opener.document.reload();
    window.close();

    although this doesn't work as I am asking for some help..

    TIA

    Billy

  2. #2
    SitePoint Member
    Join Date
    Mar 2001
    Location
    Indiana
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did it through puting a submit button to refresh on the form
    and call that button like...

    opener.document.forms[0].cmdRefresh.click();
    window.close();

    maybe not the best idea but it works....

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2001
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks mats

    I ended up doing it this way.

    window.opener.location.reload();
    window.close();

    your way looks cool, though, and I never thought of even trying that..

    Thanks.

    Billy


Bookmarks

Posting Permissions

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