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

VS 2012 Detection of pressing a button on a web page.

$
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?

Code:

WebBrowser1.Document.GetElementById("ancWarr").Focus()
Can you show me sample code?

Sorry for double post (problem with the browser.)

Viewing all articles
Browse latest Browse all 27201

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>