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
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()?