simpleonlinetester
Member
- Joined
- Apr 13, 2011
- Messages
- 19
- Programming Experience
- Beginner
What I need to do is grab all the web page elements on a web page (id, name, etc) and place them into a textbox to view...
Currently I have this
Thanks
Currently I have this
VB.NET:
Dim htmlElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("input")
For Each el As HtmlElement In htmlElements
If el.GetAttribute("name").Equals("name") Then
TextBox.Text = el.GetAttribute("value")
End If
Next
Thanks