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

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

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

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

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();

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.