当前位置:编程学习 > VB >>

求助 如何通过WScript删选特定的img标签?

有类型这样的网页片段:
<td align="right" rowspan="2"><img border="0" src="../style/img/good.gif" width="39" height="43" style="CURSOR: pointer" onclick="pj(1,690);" title="690"></td>

<td align="right" rowspan="2"><img border="0" src="../style/img/good.gif" width="39" height="43" style="CURSOR: pointer" onclick="pj(1,720);" title="720"></td>

<td align="right" rowspan="2"><img border="0" src="../style/img/good.gif" width="39" height="43" style="CURSOR: pointer" onclick="pj(1,860);" title="860"></td>

<td align="right" rowspan="2"><img border="0" src="../style/img/good.gif" width="39" height="43" style="CURSOR: pointer" onclick="pj(1,920);" title="920"></td>

<td align="right" rowspan="2"><img border="0" src="../style/img/good.gif" width="39" height="43" style="CURSOR: pointer" onclick="pj(1,990);" title="990"></td>

也就是每个<img>标签下面只有onclick和title不同,现在想通过WScript筛选出title="690"的<img>内容:
set ie = WScript.createobject("internetexplorer.application","iexplore_")
If ie.Document.all.tags("img")??????="pj(1,690);" Then
WScript.echo("!!!!!!!")
End If
Next 

其中的If ie.Document.all.tags("img")??????="pj(1,690);" Then 的判断语句怎么写?

各位高手赐教!
补充:VB ,  网络编程
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,