Posts by Vítor Amesa • 31 points
3 posts
-
0
votes2
answers27
viewsQ: c# Webbrowser How to call the onclick function?
How to call the function onclick of this html: <a href="javascript:;" onclick="ExecutarLance('46368');" title="ExecutarLance" class="btn btn-custom3"> LANCE </a> == $0…
-
0
votes0
answers22
viewsQ: c# webbrowser Clicking a button using the onclick attribute. getattribute("onclick") does not work
Hi, I’m wanting to click on a button that has the following html: <a href="javascript:;" onclick="ExecutarLance('46368');" title="ExecutarLance" class="btn btn-custom3">LANCE</a> == $0…
-
3
votes0
answers29
viewsQ: How to use the onclick attribute in C# Webbrowser?
HtmlElementCollection elementButton = webBrowser1.Document.GetElementsByTagName("a"); foreach (HtmlElement elementyButton in elementButton) { if (elementyButton.GetAttribute("onclick") ==…