Solved

Document.write output in Main Frame

Posted on 1998-11-25
1
150 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
ID: 1274571
<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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

786 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