本帖最后由 ef1859 于 2010-05-06 12:20:23 编辑

解决方案 »

  1.   

    jquery:
    $(input[type=checkbox]).each(function(){
    if(this.attr("desc")=="AAA")
    alert(this.attr("id")
    })
      

  2.   

    HtmlElementCollection hec= webbrowser.Document.GetElementsByTagName("input");
    foreach(HtmlElement he in hec)
        if (he.GetAttribute("desc") == "AAA")//GetAttribute参数区分大小写
        {
            he.InvokeMember("click");// 实现点击
            break;
        }
      

  3.   

    HtmlElementCollection hec= webbrowser.Document.Body.GetElementsByTagName("input");