Refresh the parent browser when the popup is closed

When you click on a hyperlink on the popup window the popup closed & the parent window needs to be refreshed.

To satisfy this need you have to write the following code in the hyperlink (“close window”) of popup window.

javascript:self.close(); // closes the current window (Popup).

opener.location.reload(); // Reloads the content of the parent window.

Tags:

Leave a Reply

Recent Comments

  • registry fix programs: “Worked perfectly on my Windows VISTA & WINDOWS 7 PC. Fixed all the problems in a...
  • Host Gator deals: Good website. Added to Myspace!
  • Brittani Zufall: Thanks. I’m constantly interested in items and information on web site seo. You don’t...
  • computer technology information: Thanks I found just the info I already searched everywhere and just couldn’t...
  • TERESA HUTCHINSON: I have been looking around www.adiipl.com and really am impressed by the amazing content here. I...