Jipakazoid
Newcomer
- Joined
- Feb 10, 2004
- Messages
- 5
Hi all,
with a simple :
str = wb.Document.body.innerHTML
i can get am HTML source that is in the body, but two questions arise,
1. How do i get what is in the head part, or even better can i get the whole document, like i would if i'd use "view source" ?
2. How do i access this .innerHTML of a frame that is nested in this document of mine? Say my document is the menu that has 3 frames with names "a" "b" "c", how do i get there sources?
i tried :
str = wb.Document.frames("a").body.innerHTML
and :
str = wb.Document.frames.a.body.innerHTML
but it's a syntaxis that i donno and don't think i will guess, so i ask you for help
Thanks in advance, J.
with a simple :
str = wb.Document.body.innerHTML
i can get am HTML source that is in the body, but two questions arise,
1. How do i get what is in the head part, or even better can i get the whole document, like i would if i'd use "view source" ?
2. How do i access this .innerHTML of a frame that is nested in this document of mine? Say my document is the menu that has 3 frames with names "a" "b" "c", how do i get there sources?
i tried :
str = wb.Document.frames("a").body.innerHTML
and :
str = wb.Document.frames.a.body.innerHTML
but it's a syntaxis that i donno and don't think i will guess, so i ask you for help
Thanks in advance, J.