Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q652 How can I clear the contents of another frame?

irt.org | Knowledge Base | JavaScript | Frame | Q652 [ previous next ]

Q652 How can I clear the contents of another frame?

You can attempt this:

<SCRIPT LANGUAGE="JavaScript"><!--
function cls(what) {
    what.document.open();
    what.document.write('<BODY COLOR="WHITE">');
    what.document.close();
}

cls(parent.otherFrameName);
//--></SCRIPT>

Feedback on 'Q652 How can I clear the contents of another frame?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.