vb控制网页源码

来源:百度知道 编辑:UC知道 时间:2024/05/17 20:51:19
<TD class=column1>
<DIV><SPAN>*</SPAN><EM id=t_password>Password:</EM></DIV></TD>
<TD class=column2>
<DIV><INPUT class=input-style1 onkeypress=db(2); style="DISPLAY: block" type=password maxLength=16 value="" autocomplete="off">
<INPUT class=input-style1 onkeypress=db(2); style="DISPLAY: none" type=password maxLength=16 value="" autocomplete="off">
<INPUT class=input-style1 onkeypress=db(2); style="DISPLAY: none" type=password maxLength=16 value="" autocomplete="off"></DIV></TD>
高手请指教:这是什么意思? 怎样用vb6.0向input文本框输出
我是新手,不太明白您的说法,能不能举例一下,谢谢!!

首先取得webbrowser的document对象,然后用document.getElementsByTagName("INPUT")获取网页上的所有input,然后根据数据位置进行操作,因为你的input没有name,也没有id,所以只能用数组操作了