Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

how to get the specified link


  • Please log in to reply
2 replies to this topic

#1 happynovi

happynovi

    Seeker

  • Normal Members
  • 2 posts

Posted 18 August 2012 - 09:45 AM

Local $otables = _IETagNameGetCollection($oIE, "table") For $otablet In $otables Local $trs = _IETagNameGetCollection($otable, "tr") For $tr In $trs Local $oLinks = _IELinkGetCollection($tr) For $oLink In $oLinks MsgBox(4096, "test", "Link: " & $l & $oLinks.href) Next Next Next

i want to get specified link from table's column。but my code dosen't work well,it will get all the links from web.[/font]
thanks everybody to help me.[/font]







#2 EKY32

EKY32

    Polymath

  • Active Members
  • PipPipPipPip
  • 244 posts

Posted 19 August 2012 - 10:33 PM

Maybe using StringInStr function can help.

202009929.png

Please mark the answer of your question if you found it.


#3 happynovi

happynovi

    Seeker

  • Normal Members
  • 2 posts

Posted 31 August 2012 - 02:34 PM

thanks eky32
i have solved it.
$temp = _IETagNameGetCollection($tr, "a")
$temp.href can be used




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users