
04-16-2015, 02:54 AM
|
Newcomer
|
|
Join Date: Mar 2012
Posts: 3
|
|
webBrowser invoke click
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:
HTML Code:
<input type="text" placeholder="Type name to search contacts or enter number" name="contactsornum" class="revertBlueBorder" id="tMobileNumber">
<span class="add-contact" style=""></span>
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:
Code:
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
|
|