aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes refreshing window that open a target(_blank) window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "refreshing window that open a target(_blank) window" Watch "refreshing window that open a target(_blank) window" New topic
Author

refreshing window that open a target(_blank) window

kashif iftikhar
Ranch Hand

Joined: Aug 21, 2001
Posts: 43
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

Joined: Sep 22, 2001
Posts: 2578

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).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: refreshing window that open a target(_blank) window