You are here: irt.org | BBS | Re: closing pop-up window from parent window [This BBS is closed]
Posted by vanessa beca on July 11, 1998 at 19:47:11:
In Reply to: Re: closing pop-up window from parent window posted by Dan A on July 09, 1998 at 11:53:49:
: : In the parent window I am trying to close the pop-up window by
: : doing this:
: : <SCRIPT LANGAUGE=JAVASCRIPT>
: : //Close pop-up window
: : winHlp.close ();
: : </SCRIPT>
: : I get the following error: "winHlp not defined".
: : winHlp is the name of the pop-up window so I don't understand
: : why I am getting this error message.
: : Could someone tell me what else could be generating this message?
: : Thanks!!
: Vanessa, Yes, iam trying to do the same thing and I tried
: windowname.close () but i get that "windowname undefined"
: message. I was using the child window as a form to login with
: a username/password and then target the parent window.
: I just used a setTimeout (window.close (),5999) to close the window
: about 6 seconds after it was submitted.
: However, you probably arent doing the same thing.
: I will try to figure out a way to do it.
: good luck.
>>>I found out that when you do a reload or change the location
of the parent window then all knowledge about any windows it opened
are lost. Thanks, though, for the setTimeout concept for I will
have to use that.
Follow-ups:
You are here: irt.org | BBS | Re: closing pop-up window from parent window [This BBS is closed]