Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refreshing window that open a target(_blank) window

 
kashif iftikhar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when we specify target="_blank" target page opened in new window.
i want that when i close that(new window) window the page containg form refreshed automaticly.
i want to do this because i change database in target/new window now to see new valus page must be reloaded/refreshed
------------------
 
Manish Hatwalne
Ranch Hand
Posts: 2591
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want that when i close that(new window) window the page containg form refreshed automaticly.

I assume that your form is on page 1 which opens the page 2 in a new _blank window. Write this line in the body of page 2 (the page which is opened in a new blank window.)
<body onUnload="self.opener.location.reload();">
HTH,
- Manish
[This message has been edited by Manish Hatwalne (edited September 30, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic