D
DRS.Usenet
When I run
I am able to pull the content. I see something like this
What I want to get is the HTML inside of one of the frames,
specifically "sample.html".
I am able to get to an HTMLFrameElement object using
"content.document.getElementsByName("body")[0]", but have not been
able to grab the content, and I'm not so sure that's the right path to
be taking to get the content.
Can somebody please help me out?
--Dale--
Code:
alert("page contents:" + content.document.documentElement.innerHTML);
I am able to pull the content. I see something like this
Code:
page contents:<head><title>A Title</title>
<FRAMESET ROWS="75,*">
<FRAME SRC="sample2.html" NAME="nav" title="Main Navigation">
<FRAME SRC="sample.html" NAME="body" title="Main Content">
</FRAMESET>
What I want to get is the HTML inside of one of the frames,
specifically "sample.html".
I am able to get to an HTMLFrameElement object using
"content.document.getElementsByName("body")[0]", but have not been
able to grab the content, and I'm not so sure that's the right path to
be taking to get the content.
Can somebody please help me out?
--Dale--