C#获取webbrowser中的HTML问题求助 本帖最后由 ef1859 于 2010-05-06 12:20:23 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 jquery:$(input[type=checkbox]).each(function(){if(this.attr("desc")=="AAA")alert(this.attr("id")}) HtmlElementCollection hec= webbrowser.Document.GetElementsByTagName("input");foreach(HtmlElement he in hec) if (he.GetAttribute("desc") == "AAA")//GetAttribute参数区分大小写 { he.InvokeMember("click");// 实现点击 break; } HtmlElementCollection hec= webbrowser.Document.Body.GetElementsByTagName("input"); 请教c#是否有类似于数据库中索引一样的机制 关于正则表达式的问题 怎样把EXCEL数据转入SQL2005中? 有关方向键的棘手问题 如何实现这个递归算法? 模块xxx已加载,但找不到入口点DllRegisterServer 多线程问题:两个线程做类似的工作,只有一个线程工作? 请问vs.net自带的日历控件怎么让它改变大小(size) 对于不返回任何键列信息的 SelectCommand 不支持 UpdateCommand 的动态 SQL 生成。 紧急求住! C#实现下载PPS电影或者迅雷电影功能 求c#历遍webbrowser中的复选款,并点击
$(input[type=checkbox]).each(function(){
if(this.attr("desc")=="AAA")
alert(this.attr("id")
})
foreach(HtmlElement he in hec)
if (he.GetAttribute("desc") == "AAA")//GetAttribute参数区分大小写
{
he.InvokeMember("click");// 实现点击
break;
}