[thelist] Javascript question - innerHTML for NN4

Mark Howells mark at mountain.ch
Thu Jan 31 06:12:00 CST 2002


I'm using document.layers[layerID].document.write() (with the
appropriate open() and close() to write to a layer in Netscape, in the
same way as using theObject.innerHTML in IE) and all is ok.

What I can't find a way to do is to get the HTML of the page and place
it into a variable (myVar=document.layers[layerID].document.read() would
be an example of what I'm trying to do that uses invalid syntax).

Any ideas?

Regards
Mark Howells
<http://www.mark.ac/wdl>




More information about the thelist mailing list