This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 2591

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: refreshing window that open a target(_blank) window
 
jQuery in Action, 3rd edition