How can I click a js button on VB
i am using visual basic 12.there is a web browser in my form.İ want to click it but i have a problem.The button is a javascript button.so this code doesn't work: WebBrowser1.Document.All("button id").InvokeMember("click") Here is the hmtl of button.How can i click it. <a class="single_like_button btn3-wrap" onclick="openFbLWin_407311();"> <span> </span><div class="btn3">Like</div></a> Menelaos Bakopoulos Three options: Execute the javascript function itself directly Search through all A elements using InnerHTML Search through all A elements using ClassName Execute the javascript function