Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q834 How do I pass values from one frame to another in a single frameset?

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>

Feedback on 'Q834 How do I pass values from one frame to another in a single frameset?'

©2018 Martin Webb