Hey, i have a small problem with a frameset! I have two frames on one page and I want to get the InnerHtml of the second frame. How do I do that!
Printable View
Hey, i have a small problem with a frameset! I have two frames on one page and I want to get the InnerHtml of the second frame. How do I do that!
I know a lot about HTML but I'm not quite sure what u mean. Please discribe better.
the innerhtml?
you can manipulate it through:
Code:top.frames[1].location = "newlocation" etc...
I assume you are using VB
Dim Doc As HTMLDocument
Set Doc = WebBrowser1.Document.frames.Item(0)' or (1) or (2) etc
Debug.Print Doc.documentElement.innerHTML
i am not sure if it is possible to get the innerhtml of a frame but i assume it would be something like this:
Code:somevar = parent.framename.document.innerHtml;
innerhtml.frames[1].location =
something like that, and no he isn't using VB.
I think it might be:
strHTML = parent.framesName.document.body.innerHtml;
lol...so it is one of these:
Code:strHTML = parent.framesName.document.body.innerHtml;
somevar = parent.framename.document.innerHtml;
innerhtml.frames[1].location =
:D