I'd like to close a popup from the parent window after the parent window does a submit. Because of several constraints I'd like to do this in the parent's onload functions. Well, my implementations doesn't work and I'd like to get some input from your:
the parent contains:
openMyWindow is called from a button.
The popup contains:
exitForm is called as a button's onclick fuction. My problem is that after returning to the parent, the searchWindow is null, so it seems as if the global variable is lost somehow. Any idea what's wrong? I'm staring at this for hours but can't find my mistake.
EDIT: added CODE tags [ July 08, 2008: Message edited by: Mike Himstead ]
Please be sure to use UBB code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along. Please read this for more information.
You can go back and change your post to add code tags by clicking the .