• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

ASP Popup

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
TheJay04
Asked:
TheJay04
1 Solution
 
TimCotteeHead of Software ServicesCommented:
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
 
TheJay04Author Commented:
thanks, it works great !!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now