MikeWiz628
Programmer
First, I have a button that the user can click on and it opens a small pop-up window with some info inside.
What I want, is when the main window is closed, it closes the pop-up window as well.
What I had tried was putting is <body onunload=window.close('popup.aspx','popwindow')....
Is this possible? Is there a better way to do this?
Thanks in advance!
What I want, is when the main window is closed, it closes the pop-up window as well.
What I had tried was putting is <body onunload=window.close('popup.aspx','popwindow')....
Is this possible? Is there a better way to do this?
Thanks in advance!