Kirix Support Forums

frameset in DOM

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

frameset in DOM

Postby taaraka on Wed Feb 17, 2010 5:06 pm

Hi all,

I was seeking some data in DOM after page got loaded, and I realised that <frame> tags do not have their data as children. In JavaScript I could access the frame's source like:
Code: Select all
document.childNodes[0].children[1].children[0].contentDocument
But there is no function to get contentDocument.

Is there a way to get contentDocument.documentElement? It is type of wxDOMElement I guess.
Or could I get a node behind contentDocument using wxDOMDocument::GetElementById()?
If I think right, contentDocument is some kind of wxDOMDocument. In case that is correct then how can I access that instead of the one that is given by wxWebControl::GetDOMDocument()?
taaraka
Registered User
 
Posts: 3
Joined: Tue Jan 19, 2010 1:21 pm

Return to wxWebConnect Questions, Thoughts & Feedback