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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parent refresh

Status
Not open for further replies.

enak

Programmer
Jul 2, 2002
412
US
I open a child window, make some changes, save those changes to a database, and then close that window.

What I want to do is cause the parent or "opening window" to be refreshed when the child window is closed.

In javascript you can do the following:

CHILD WINDOW:
function CallParent(url)
{

window.opener.RefreshParent(url)
self.close()

}


PARENT WINDOW:
function RefreshParent(url)
{
//alert("Reload Parent")
location.href=url
}


How do I do this in VBScript?

TIA
Nate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top