我正在使用getElementById
获取ID节点值但我收到错误。
是否有人可以帮我删除此错误。
Dim oExec()
ReDim oExec(NbParks)
Dim ParkName()
ReDim ParkName(NbParks)
Dim ParkUrl()
ReDim ParkUrl(NbParks)
Dim ParkFilesArray()
Dim Ippark
Ippark = document.getElementById("IP00").FIRSTCHILD.nodeValue '<- error occurs here
For i=0 To NbParks - 1
ParkUrl(i)=xmlLocation.getElementsByTagName("Park").Item(i).getAttribute("url")
ParkName(i)=xmlLocation.getElementsByTagName("Park").Item(i).getAttribute("name")
Set oExec(i)=wsh.Exec("wscript " & Chr(34) & cheminbase & "\read.vbs" & Chr(34) & " " & i & " " & ParkUrl(i))
TD id="IP00" style="width:80.5%" colspan="1" class=""titleBar"" align=""center"">" & "175.111.14.26/16.6.11.9246/nc2" &