webBrowser invoke click
webBrowser invoke click
webBrowser invoke click
webBrowser invoke click
webBrowser invoke click
webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click
webBrowser invoke click webBrowser invoke click
webBrowser invoke click
Go Back  Xtreme Visual Basic Talk > > > webBrowser invoke click


Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2015, 02:54 AM
gussy81 gussy81 is offline
Newcomer
 
Join Date: Mar 2012
Posts: 3
Default 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
Reply With Quote
Reply

Tags
html, invoke method, textfield


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
webBrowser invoke click
webBrowser invoke click
webBrowser invoke click webBrowser invoke click
webBrowser invoke click
webBrowser invoke click
webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click webBrowser invoke click
webBrowser invoke click
webBrowser invoke click
 
webBrowser invoke click
webBrowser invoke click
 
-->