refreshing window that open a target(_blank) window
posted 15 years ago
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 ------------------
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).]