Rank: Newbie Groups: Member
Joined: 5/7/2016 Posts: 1
|
Dear Sir.
Is there any example shown how to dig or search element`s child element? Like I can do this on microsoft webbrowser?
For Each cbBlock As HtmlElement In wbMain.Document.GetElementsByTagName("div") If cbBlock.GetAttribute("classname") IsNot Nothing AndAlso cbBlock.GetAttribute("classname") = "subcontent" Then Dim curLeague As String = String.Empty For Each gLine As HtmlElement In cbBlock.GetElementsByTagName("tbody") . . . Next End If Next
Thanks a lot.
Joey
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
|