derek-lakin
04-24-2003, 04:24 AM
Is it possible to open a popup window, perform some processing in that window (adding data to a database using PHP) and then refresh the original page before closing the popup window?
|
Click to See Complete Forum and Search --> : Reload/refresh parent page? derek-lakin 04-24-2003, 04:24 AM Is it possible to open a popup window, perform some processing in that window (adding data to a database using PHP) and then refresh the original page before closing the popup window? gil davis 04-24-2003, 06:14 AM window.opener.location.reload(); RJ2003 04-24-2003, 06:25 AM window.opener.parent.history.go(0) derek-lakin 04-24-2003, 06:34 AM Are both of these methods well supported by the popular browsers (IE, Netscape, Opera, Mozilla)? gil davis 04-24-2003, 07:00 AM In Netscape, the reload() method of the location object was introduced in JavaScript1.1. Browser versions beginning with NS 3 support that method. See http://developer.netscape.com/docs/manuals/js/client/jsref/location.htm#1194198 IE 4.0 and above support that method. See http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/reload.asp Opera indicates that it's current browser supports it as well. See http://www.opera.com/docs/specs/ Originally posted by RJ2003 window.opener.parent.history.go(0)"parent" is only valid if the opener is in a frame. derek-lakin 04-24-2003, 10:01 AM Originally posted by gil davis In Netscape, the reload() method of the location object was introduced in JavaScript1.1. Browser versions beginning with NS 3 support that method. See http://developer.netscape.com/docs/manuals/js/client/jsref/location.htm#1194198 IE 4.0 and above support that method. See http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/reload.asp Opera indicates that it's current browser supports it as well. See http://www.opera.com/docs/specs/ "parent" is only valid if the opener is in a frame. Thanks Gil. It look slike window.opener.location.reload(); is the way to go :) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |