[RESOLVED] How can i grab a value out of a textbox on a website
Ok I can use this to input a value in a text box ona website
f Code:
Private Sub Command1_Click()
Dim HTMLI As HTMLInputElement
Set HTML = WebBrowser1.Document
Debug.Print HTML.documentElement.innerText
For Each HTMLI In HTML.getElementsByTagName("input")
If HTMLI.Name = "video_link" Then
HTMLI.Value = Text1.Text
End If
Next
End Sub
but I need to grab the what in the textbox named "video_link" on a website and put it in text1, how would do that?
Re: How can i grab a value out of a textbox on a website
i found it I just changed this "HTMLI.Value = Text1.Text" to this "Text1.Text = HTMLI.Value "