开发者

parse onclick links in html

I certain html page contains links that are displayed with each onclick event. I am unable to parse the html for the url that will follow these onlick links. If this is the source on the page, how do I capture the content that each onclick link displays. In other words for example:

<a href="#" onClick="SelGenre('001'); return false;">プライベート</a>&nbsp;(4236)</li>

  • なかま (1145)
  • ペット (398)
  • Now this is the onclick link that will display some content which I need to capture. Basically I want to be able to activate the onclick event from a pro开发者_开发技巧gram to display and capture the url links from that specific page. Hope this makes sense.i looked for javascript file but could not find it and firebug does not help much


    I was able to trace the script function properly and got the format of the url it uses when onclick is true.

    0

    上一篇:

    下一篇:

    精彩评论

    暂无评论...
    验证码 换一张
    取 消

    最新问答

    问答排行榜