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

Q999 How can I avoid using opener.opener every time when referring to many variables in the window that opened the window that opened the current window?

You are here: irt.org | FAQ | JavaScript | Window | Q999 [ previous next ]

You can make a reference to the openers opener, and then use that each time:

<script language="JavaScript"><!--
var myTop = opener.opener;

alert(myTop.variableName);
//--></script>

©2018 Martin Webb