Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q1153 How can I write HTML-text into another frame from JavaScript - but from the page that contains the frameset definition?

You are here: irt.org | FAQ | JavaScript | Frame | Q1153 [ previous next ]

Use something like:

<title>Writing to frames</title>
<script language="JavaScript"><!--
function myUpdate() {
    parent.textframe.document.write("Some text")

<frameset rows="75%,*" onLoad="myUpdate()">
<frame src="" name="textframe">
<frame src="" name="otherframe">

©2018 Martin Webb