Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh/Reload a DIFFERENT window 1

Status
Not open for further replies.

AlbertAguirre

Programmer
Nov 21, 2001
273
US
Hi, I am opening a pop up window that allows the user to create a directory on the file server.
Once he creates it, I would like the MAIN window / page to refresh.

How do I refresh a different (or main window) with javascript?
 
Within the popup window code you can do this (assuming you haven't refreshed the popup window at all):

Code:
window.opener.refresh();

[monkey][snake] <.
 
Thank you so much for your help.

window.opener.refresh() does not work. Says Object does not support this property of method. Am i doing something wrong?
 
Ah Diancecht !!! This works opener.location.reload(true);

Thank you!
 
This is a good example of how the wonderful search functionality of this site can help you. And it's free :)

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top