关于WebBrowser1控件的提交问题
WebBrowser1 对 提交 按钮,
用下列代码执行没有问题
<input type="submit" class="best-submit" name="signIn" id="signIn" value="Sign in">
Dim doc
Set doc = WebBrowser1.Document
For i = 0 To doc.All.length - 1
If (LCase(doc.All(i).tagname)) = "input" Then
If (LCase(doc.All(i).Name)) = "signin" Then
WebBrowser1.Document.All(i).Click
End If
End If
Next i
Dim doc
Set doc = WebBrowser1.Document
For i = 0 To doc.All.length - 1
If (LCase(doc.All(i).tagname)) = "div" Then
If (LCase(doc.All(i).Name)) = "mysend" Then
WebBrowser1.Document.All(i).Click
End If
End If
Next i