[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using variable



Yes.  To access the variable, provide the "full path" to the frame, along
with the name of the variable.  Let's say the variable is in the document in
a frame you have named frameB.  The returned value is stored in the current
frame as GetVar.

GetVar = parent.frameB.varname;

-- Gordon
http://gmccomb.com/javascript/


At 10:43 AM 3/15/96 -0500, you wrote:
>
>Can I use a variable in frame A that I compute in frame B?
>If yes, how?
>
>Pascal L.
>
>--------------------------------------------------------------------
>For help about the list, please send a message to 'majordomo@obscure.org'
>with the message body 'help'. To unsubscribe, send a message to
>'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
>List archives and pointer to FAQ: http://www.obscure.org/javascript/
>
>
-- Gordon
http://gmccomb.com/javascript/


--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/