【发布时间】:2012-05-24 16:11:16
【问题描述】:
我想查找 2 年合同的价格并将其显示在消息框中。到目前为止我有:
Dim MyPage
Dim Price
Set MyPage=CreateObject("Microsoft.XMLDOM")
MyPage.load("http://www.verizonwireless.com/b2c/store/controller?item=phoneFirst&action=viewPhoneDetail&selectedPhoneId=5723")
Wscript.Sleep 2000
Set Price = MyPage.getElementsByTagName("span")
For Each Elem In Price
MsgBox(Elem.firstChild.nodeValue)
Next
我明白我完全错了,但我什至不知道从哪里开始。我喜欢编写这样的简单程序,但我只需要帮助开始。任何想法都会有所帮助!
【问题讨论】:
标签: vbscript