Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Web Development (https://www.askmehelpdesk.com/forumdisplay.php?f=467)
-   -   Close all child windows through parent window (https://www.askmehelpdesk.com/showthread.php?t=74804)

  • Mar 22, 2007, 10:46 AM
    zybernau
    Close all child windows through parent window
    Hi, all

    In javascript
    I need to close all the child windows[popup windows] that I have opened through a parent window

    Scenario:
    • here i will be having as many as child window opened and name given to the child window can not be tracked because each will be having a different name, and
    • i am using 70 to 80 popup windows [doing seperate operations] through out my page [parent window]
    • there can be any number of child windows opened , at the time of user triGgers the event from the parent window to close all the child window that i have opened so far [currently opened child windows]


    :confused:


    I NEED IT URGENT

    THANKS IN ADVANCE

    - RAJAMOHAN
  • Oct 16, 2008, 05:57 PM
    jthomsonmain
    To my knowledge, you cannot do this, at least not easily. There is more than likely some way to do it, but 70 pop ups would cause lag, and with most people's browser security, the function to close the windows would either not work, or would create another pop up asking the user permission to close the window. I would say that you should start brainstorming on how to get the task accomplished without the 70 pop ups.

  • All times are GMT -7. The time now is 03:02 PM.