Solved

Document.write output in Main Frame

Posted on 1998-11-25
1
144 Views
Last Modified: 2008-03-06
I have a page with 3 frames. And I would like to know the document.write syntax to display the output in the main frame, in javascript.
0
Comment
Question by:flmartins
1 Comment
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 10 total points
Comment Utility
<SCRIPT>
var Text = 'Hello world';
Text += '<BR>Here is some text';
top.main.document.open();
top.main.document.write(Text);
top.main.document.close();
</SCRIPT>

Michel
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now