• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Manipulating Windows and Fra... > Communicating Between Frames

Communicating Between Frames

After you have created a series of frames by using the <FRAMESET> and <FRAME> tags, how do you use JavaScript to access and manipulate each frame? As mentioned in the preceding section, each frame is a separate window object. Therefore, if you can reference each frame, you can use the same techniques that were used with windows for each frame.

The Web Browser Object Model includes several properties that apply to frame and window objects that make referencing different frames much easier. These properties are the self, window, parent, and top properties. Their meanings are as follows:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint