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

Posted on 2009-04-20
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
    LVL 41

    Expert Comment

    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

    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


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    The viewer will learn how to dynamically set the form action using jQuery.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now