当前位置:编程学习 > VB >>

VB 对网页特定选框打勾的问题。

<input type="checkbox" name="Item_696" value="4082">
<input type="checkbox" name="Item_696" value="4084">

<TD width="120" height=30 id="submitButton">
          <BUTTON  class="poll_bt" onClick="javascript:handlerMoreQuestion('','','696',1, '_self', document.getElementById('frmData39'))" type=submit>给选手投票</BUTTON></td>
          <td><BUTTON class="poll_bt" onClick="window.close();" type=button>关闭窗口</BUTTON></TD></TR>


我想通过webbrowser对页面中特定的选民打勾,网页是这样的。谁能说说编程怎么写呢?大概10个人。
另外提交如何做?
--------------------编程问答-------------------- webbrowser1.document.all("Item_696")(0).checked="yes" --------------------编程问答-------------------- <TD width="120" height=30 id="submitButton">
   <BUTTON class="poll_bt" onClick="javascript:handlerMoreQuestion('','','696',1, '_self', document.getElementById('frmData39'))" type=submit>给选手投票</BUTTON></td>
   <td><BUTTON class="poll_bt" onClick="window.close();" type=button>关闭窗口</BUTTON></TD></TR>


如何一键提交呢?? --------------------编程问答-------------------- webbrowser1.document.parentwindow.execscript "handlerMoreQuestion('','','696',1, '_self', document.getElementById('frmData39'))"
补充:VB ,  基础类
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,