Alright, im trying to get a balance from a webpage. But idk how to. I sort of figured it out. This is what im trying to get:
<div class="boxborder">
<div class="title">Balance</div>
<div class="sep"></div>
<div class="inner">
$12.85 </div>
</div>
i want to get the 12,85$ to a label.
I tried this:
Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("div")
For Each CurElement As HtmlElement In PageElements
If CurElement.GetAttribute("classname") = "inner" Then
Label1.Text = CurElement.InnerText
End If
Next
But there are multiple classes on the webpage which has the inner as classname, so i get lots and lots of info. But i just want to get the 12,85. How would i do that?
