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

Chapter 5. Making Content Dynamic > Writing to Other Frames and Windows

5.2. Writing to Other Frames and Windows

You can also use the document.write() method to send dynamically created content to another frame in a frameset or to another browser window. In this case, you are not restricted to only one call to document.write() per page; you can open an output stream to another frame or window and keep dumping stuff into it until you close the output stream with document.close().

All you need for this kind of content creation is a valid reference to the other frame or window. How you generate the frameset or secondary window influences this reference.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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