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

Q514 If all of my declared functions are in the parent frame, how can I call those functions from another frame?

You are here: irt.org | FAQ | JavaScript | Frame | Q514 [ previous next ]

If the functions are in the immediate parent frame them:

parent.functionname();

If they are in the parent of the parent then:

parent.parent.functionname();

If there are many nested frames but the function is in the top frame then:

top.functionname();

©2018 Martin Webb