我想点击<tr>
或<td>
选择该行。请找到以下HTML代码:
<tr class="mcl_data_unsel">
<td style="white-space: nowrap;">
<b>HPOrderNo</b> = <font color="#aa0000"><b>82P980080009</b></font>
</td>
</tr>
我为此编写了VBScript代码,但这不起作用:
WScript.Sleep 10000
For Each a In ie.document.getElementsByTagname("b")
If a.innerHTML="HPOrderNo" Then
a.Click
End If
Next