Results 1 to 3 of 3

Thread: JS See if window is closed?

  1. #1

    Thread Starter
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    JS See if window is closed?

    If I open a window with JS, is there any way to constantly check if it's closed again ? Or is it possible to send a message from the window I opened to the window that opened it saying it's going to close? I need to redirect a page as soon as it's popup closes!

    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  2. #2
    Lively Member
    Join Date
    Nov 2001
    Posts
    76
    There is no onclose event but their is an onUnload event.

  3. #3

    Thread Starter
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    found out I can open it as an object, and use myObject.Closed() which you return a boolean value, which is what I need. But I don't have access to the code that opens the popup and it opens it using OpenWindow(blabla), or something like that, without making it an object, so that's useless...

    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width