Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27196

VS 2012 How to click this button?

$
0
0
Hi all,
I would like to detect BUTTON pressing on a WWW. For example, when you press the button pops up the message "OK"
I know his ID.
Code from site below. How should I properly programmed?

Code:

<a id="ancWarr" href="javascript:submit(document.Extended.sn,document.Extended)" class="btn_link">BUTTON</a>
Should I use this?
Can you show me sample code?

Code:

WebBrowser1.Document.GetElementById("ancWarr").Focus()

Viewing all articles
Browse latest Browse all 27196

Trending Articles