vb.net javascript tabmenu点击失败

时间:2017-09-04 15:35:11

标签: javascript vb.net click tabmenu

嗨,我制作的程序有问题

<a hidefocus="hidefocus" href="../wizard/quickwan.asp" target="contentfrm" id="link_User_0_0_2" onclick="clickTabMenu(this.id);" onmouseover="mouseOverLink(this.id);" onmouseout="mouseOutLink(this.id)" style="color: rgb(0, 0, 0);">WAN Ayarlari</a>

我需要点击此处此代码无效

Dim allelements As HtmlElementCollection = WebBrowser2.Document.All
    For Each Web As HtmlElement In allelements
        If Web.GetAttribute("id") = "link_User_0_0_2" Then
            Web.InvokeMember("click")
        End If
    Next

我需要你的帮助

0 个答案:

没有答案