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

Refresh Window Previously Opened with Window.Open

Status
Not open for further replies.

metsey

Programmer
Mar 2, 2001
49
US
I have an asp page (asp1) in which a link invokes the window.open function for another asp (asp2) page.

the user then can invoke stored procedures from a submit button on asp1 that changes the underlying data for asp2 (still opened).

How can I get asp2 to refresh when the submit button is pressed on asp1 that invokes the data change?
 
In ASP1, you could use the open method, setting the opened window as ASP2, example: openASP2=open('asp2.asp','openASP2','your options here')

Then, in ASP1, you would change the content on ASP2 with the document.writeln() statement.

I have this same type of thing, but my ASP2 page is just a log to show what is happening on ASP1. The scripts generate the html/asp on ASP2 from within ASP1.

Hope this helps...?
 
Thank you desktophero. One more simple question, how do I target asp2 for the writeln() statement?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top