Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Frame | Q834 [ previous next ]

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

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.