File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
How to refresh the parent page when the child window is submitted?
populating one dropdown box depending on the value of other dropdown box
New browser window
Child windows gets refresh if parent window is refreshed
Calling a JavaScript function after the completion of a Struts action