标题: 这个自动登录运行时弹出错,为何呢?
[打印本页]
作者: ednykissyou
时间: 2010-5-23 01:53
标题: 这个自动登录运行时弹出错,为何呢?
Set ie=WScript.CreateObject("InternetExplorer.Application")
ie.visible=true
ie.navigate "http://www.5tu.cn/logging.php?action=login"
Do
Wscript.Sleep 200
Loop Until ie.ReadyState=4
ie.document.getElementById("username").value="the123456"
ie.document.getElementById("password").value="the123456"
dl=ie.document.getElementsBytagname("loginsubmit")
dl.submit
ie.document.getElementById("loginsubmit").click
--------------------------------------------------------------------------
这句好像是多余的
dl=ie.document.getElementsBytagname("loginsubmit")
dl.submit