You are here: irt.org | FAQ | JavaScript | Frame | Q834 [ previous next ]
Either by retrieving the value of the variable from the other frame:
<script language="JavaScript"><!-- var localvar = parent.otherframename.localvar; //--></script>
or by setting the value of the other frames variable to the value of the variable in the current frame:
<script language="JavaScript"><!-- parent.otherframename.localvar = localvar; //--></script>