[thelist] RE: JavaScript: Get contents of second window

Karen Bowen KarenB at FrontierSoftware.com.au
Fri Dec 1 04:09:45 CST 2000


I don't believe there's a way to get this info for NS4.x, but with N6 and
IE5+ you can call on the innerHTML property of the document.

You'll need to name your new window too, so that you can get the data from
it.

Try something like this:
	var bodyContent = newWindow.document.body.innerHTML;

HTH
Karen


> > what browsers and platforms are you looking to support?
> 
> Version 4+ Netscape, IE 5+ on PC and Mac OS.
> 
> 
> 




More information about the thelist mailing list