A1VBCode Forums

webBrowser invoke click


http://www.a1vbcode.com/vbforums/Topic32269.aspx

By gussy81 - 4/15/2015

does anyone know how i can click on this button that seems to be sitting inside the textfield?



ok so this is the html i am working with:









when a number is entered into this field a blue plus icon comes up and you click on it to add the number to listbox i need to invoke a click on this icon/link/ add-contact button i have recently tried the following with no success:



Private Sub addContact_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles addContact.Click



WebBrowser1.document.GetElementById("tmobilenumber").InvokeMember("click")



End Sub


does anyone know how i can click on this button that seems to be sitting insode the textfield?







thanks