Jump to content

mad_php

Members
  • Posts

    20
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mad_php's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. main window B opens from a page deep in the site. Unfortunately the unonload event is run inside a header that is included throughout the site.
  2. Hi, I have two windows i'm working with. When window B opens off the parent window A. Window A has to be open all the time while window B is open. If the user closes down window A, window B need to close also. I have a javascript function inside Window A that is launched on the onunload event. function closePopup(){ main.close(); } main is the name of window B. I keep getting error message when i load window A, it says main is undefined. So basically I want to be able to check to see window B is open before running main.close() Can anyone help me? Thanks --Mark
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.