急问,如何得到网页上超链接?
lpf 2004-07-14 12:03:37 cell的超链接为这种格式:
<a href="#" class="a1" onclick="javascript:window.open('address','','top=100,left=150,resizable=no,scrollbars=yes,menubar=no,width=620,height=470');return false;">
请问我如何得到'address'部分?
Dim a
For Each a In WebBw.Document.All
If UCase(a.tagName) = "A" Then
Debug.Print a.herf
End If
Next
这种方法可以吗?
现在我想要的links均在同一table的一列上,如何能通过cells的属性得到其alink?