logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Franz
    • Posted on Tue 9 Oct 2007

    If you want to reuse a window and make sure it is not in the background after changing the content, just call .focus() on it.

    Example: popup = window.open("someURL.html", "myPopup"); popup.focus();

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: