VBScript wont work on www.meteor.ie

徘徊边缘 提交于 2019-12-24 22:06:02

问题


The .Focus() function will not work in Windows Server 2003. Is there any thing i can do to make it work?

WScript.Sleep 1000 
.getElementByID("quickSearchMsisdn").value = "085729916" 
WScript.Sleep 1000 
.getElementByID("quickSearchMsisdn").value = "0857299167" 
WScript.Sleep 1000 
.getElementByID("quickSearchMsisdn").value = "0857299167"
.getElementByID("quickSearchMsisdn").Focus 
WScript.Sleep 10000
.getElementByID("doSendSMS").click 

It is to log into my online mobile account and send me an automated text. What ever way the page is designed the number field needs to be clicked into.


回答1:


You might want to try using Firefox instead of IE. This posting seems to have some insight/solution. http://forums.asp.net/p/1098151/3384669.aspx#3384669



来源:https://stackoverflow.com/questions/2628679/vbscript-wont-work-on-www-meteor-ie

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!