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!

Refreshing page with pop up window 1

Status
Not open for further replies.

InternVirtuoso

Programmer
May 20, 2003
21
US
Is there any way to refresh another page using a pop up window after clicking a submit button?

Basically I have a pop up window to allow the user to enter a comment in, and I want that comment to be displayed on the main page after the user submits it with the pop up window.

I have tried making a function on the main page that is controlled by a session variable, but that has not worked.

any suggestions?
 
if the main page created the popup then you can directly access it window.opener.location.reload() in the click event of the submit

____________________________________________________
[sub]The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811[/sub]
onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top