SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: window.opener.document.reload???
-
Aug 6, 2001, 22:54 #1
- Join Date
- Jan 2001
- Posts
- 29
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
window.opener.document.reload???
How would one do this
open a pop up window, and when done executing something in the pop up window, refresh the opening window and then close the pop up..
I'm thinking something like
window.opener.document.reload();
window.close();
although this doesn't work as I am asking for some help..
TIA
Billy
-
Aug 7, 2001, 08:30 #2
- Join Date
- Mar 2001
- Location
- Indiana
- Posts
- 22
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I did it through puting a submit button to refresh on the form
and call that button like...
opener.document.forms[0].cmdRefresh.click();
window.close();
maybe not the best idea but it works....
-
Aug 7, 2001, 09:21 #3
- Join Date
- Jan 2001
- Posts
- 29
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks mats
I ended up doing it this way.
window.opener.location.reload();
window.close();
your way looks cool, though, and I never thought of even trying that..
Thanks.
Billy
Bookmarks