Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 26, 2019 #1 Hello Everyone!!!! Can I have a little help with WebEngine class? created by @warwound My problem is how I can list all elements from a DIV? In this DIV I have a lot of components, like label, buttons, texts, etc Code: Dim E As Element = mDocument.GetElementById("card-list") If E.IsInitialized Then Log(E) <------------------- How to list all components inside this element? End If Thanks in advance! Alberto Iglesias
Hello Everyone!!!! Can I have a little help with WebEngine class? created by @warwound My problem is how I can list all elements from a DIV? In this DIV I have a lot of components, like label, buttons, texts, etc Code: Dim E As Element = mDocument.GetElementById("card-list") If E.IsInitialized Then Log(E) <------------------- How to list all components inside this element? End If Thanks in advance! Alberto Iglesias
Kiffi Well-Known Member Licensed User Longtime User Mar 26, 2019 #2 Can you provide us with a small sample project? Greetings ... Peter Upvote 0
DonManfred Expert Licensed User Longtime User Mar 26, 2019 #3 Maybe this helps? https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Element.html Upvote 0
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 28, 2019 #4 Hello Manfred, on DOM element I can extract, but with this I can't see any child elements I tried: Code: Dim objHtml As HTMLNode = mDocument.GetElementById("card-list").AsHTMLNode and Code: Dim e as element= mDocument.GetElementById("card-list") Upvote 0
Hello Manfred, on DOM element I can extract, but with this I can't see any child elements I tried: Code: Dim objHtml As HTMLNode = mDocument.GetElementById("card-list").AsHTMLNode and Code: Dim e as element= mDocument.GetElementById("card-list")