HighDots Forums  

FAQ Topic - How do I communicate between frames in a web browser? (2007-12-17)

Javascript JavaScript language (comp.lang.javascript)


Discuss FAQ Topic - How do I communicate between frames in a web browser? (2007-12-17) in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
FAQ server
 
Posts: n/a

Default FAQ Topic - How do I communicate between frames in a web browser? (2007-12-17) - 12-16-2007 , 06:00 PM






-----------------------------------------------------------------------
FAQ Topic - How do I communicate between frames in a web
browser?
-----------------------------------------------------------------------

To reference another frame, you simply need to step through the
frame hierarchy: ` parent ` is the page the frame is defined
in, ` parent.framename ` is another frame in the same frameset.
To access a variable called Moomin in a frame called Snork you
would use ` parent.Snork.Moomin `. To call the function Snufkin
in that frame you would use ` parent.Snork.Snufkin() `.


--
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
The FAQ workers are a group of volunteers. The sendings of these
daily posts are proficiently hosted by http://www.pair.com.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.