本帖最后由 mtvtop 于 2011-12-3 00:24 编辑
div表单input输入数据后无法提交
把验证码输入后点 注册 没有反应,必须要所有的文件框点一次才能提交!
请问有什么方法解决吗?#include <IE.au3>
$oie=_IECreate("http://reg.email.163.com/mailregAll/reg0.jsp?from=126mail",1,1,0)
_IELoadWait ($oIE)
$oInputs = _IETagNameGetCollection ($oIE, "INPUT")
$iNumInputs = @extended
For $i = 0 to $iNumInputs - 1
$oInput = _IETagNameGetCollection ($oIE, "input",$i)
;MsgBox(0, $i, $oInput.name)
If $i=4 then $oInput.value = "aallssaaqq"
If $i=14 then $oInput.value = "12345678" ;密码1
If $i=16 then $oInput.value = "12345678" ;密码1
Next
|