javascript How best to close current web page and return to filtered web page

Posted on 2009-04-20
Medium Priority
Last Modified: 2012-05-06
Unfortunately I'm working on a Classic ASP project.  In it i call a web page from a link on another page.  The calling page is a table view that has been filtered.  When I'm done with the called page, I want to return to the calling page with the filter intact.  I have created a button to close the page and wanted to use a javascript function to do the "dasterly deed".

What is the best way to do this?
Question by:deepPowdah
  • 2
LVL 41

Expert Comment

ID: 24256251
How about having the called paged be displayed, and the calling page be minimized.  Then, you might be able to add some javascript code on the "popup" page to restore focus to the calling page?
LVL 41

Accepted Solution

HonorGod earned 1000 total points
ID: 24256261
I wonder if you could, instead, have the called page contents "hide" the contents of the calling page.  Then, when the "close" request occurs, have the the unload routine discard the called data, and restore the original (background) page...

Author Closing Comment

ID: 31572322

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video teaches users how to migrate an existing Wordpress website to a new domain.
Suggested Courses
Course of the Month16 days, 11 hours left to enroll

862 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