SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Mar 2005
    Posts
    523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    page refresh help please.

    Hi Guys

    Please help me with a page refresh solution please.Can this be done please.

    Page1 is the main page and when I click on a link on page a pop up window
    opens (page2).What I would like to happen is when page2 is closed I would like page1 to be refreshed.

    is this possible please

    Thanks
    Niva

  2. #2
    SitePoint Member
    Join Date
    Apr 2006
    Location
    Italy
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In page2 use this:

    window.onunload = function(){
    window.opener.location.reload();
    }

  3. #3
    SitePoint Evangelist
    Join Date
    Mar 2005
    Posts
    523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks

    Should I put this in the <head></head>

    NIva

  4. #4
    SitePoint Member
    Join Date
    Apr 2006
    Location
    Italy
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by nivashni
    Thanks
    Should I put this in the <head></head>
    You can put it where you like

  5. #5
    SitePoint Evangelist
    Join Date
    Mar 2005
    Posts
    523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    THanks
    Works well

    Niva


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
  •