[Javascript] windows

Paul McGuire pmcguire at cguk.co.uk
Mon May 17 08:26:58 CDT 2004


parent.document.forms[0].elements[0].value = this;

should be

parent.document.forms[0].elements[0].value = this.value;

maybe


----- Original Message ----- 
From: "Iztok Polanic" <iztokp at amis.net>
To: <javascript at LaTech.edu>
Sent: Monday, May 17, 2004 2:20 PM
Subject: [Javascript] windows


> Hi!
> 
> I'm trying to pass a variable from a child to parent window.
> 
> parent (index.htm):
> 
> win = window.open();
> --------------------------------
> child (something.htm):
> parent.document.forms[0].elements[0].value = this;
> 
> Where is the problem? 
> 
> Bye,
> 
> Iztok
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list