Solved

ASP Popup

Posted on 2006-11-30
2
263 Views
Last Modified: 2012-08-14
Hey experts!

In my script i have a page with a button, when the button is click a window is opened via a javascript script.
when the client is finished on the popup window and clicks a close window link, i want the window to close and on the window they was on before the popup window was opened i want it to redirect to a different page or just refresh if possible.

Any ideas ??
0
Comment
Question by:TheJay04
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 500 total points
ID: 18046076
Hi TheJay04,

On the popup

<input type=button value="Close and Reload" onclick="window.opener.location.href='http://somenewlocation.com';self.close();">

Tim Cottee
0
 
LVL 4

Author Comment

by:TheJay04
ID: 18046131
thanks, it works great !!!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Classic ASP - cannot get to correct path 17 73
CSS Question.. 3 87
format nvarchar field as mm/dd/yyyy 4 71
Questions about INCLUDE FILES 2 32
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question