simpleonlinetester
Member
- Joined
- Apr 13, 2011
- Messages
- 19
- Programming Experience
- Beginner
VB.NET:
Webbrowser1.Document.GetElementbyId(“idname”).SetAttribute(“value”, Textbox1.text)
VB.NET:
For Each element As HtmlElement In WebBrowser1.Document.GetElementsByTagName("input")
If element.GetAttribute("id") = "idname" Then
element.SetAttribute("value", TextBox1.Text)
End If
Next