iframe

Giganews Newsgroups
Subject: iframe
Posted by:  Jeff Thies (cyberje…@sprintmail.com)
Date: Fri, 04 Jul 2003

I have an iframe (IE5):

<iframe name="frame1" id="frame1" src="some_source">test</iframe>

that test appears outside the iframe, the src contents are in the iframe
though

I'd like to read the iframe.

var frame1=document.getElementById('frame1').innerHTML;

What I get is "test", not what the contents of the iframe actually is.

  What have I done wrong?

  Jeff

Replies