如有一个html网页
<html>
<body>
<a href="www.csdn.net/test.html">我的网页
</a>
</body>
</html>
1在页面上,如何根据连接获得www.csdn.net/test.html
2怎么得到"我的网页"?

解决方案 »

  1.   

    在javascript中分析网页源程序吧
      

  2.   

    http://blog.joycode.com/mvm/archive/2004/04/27/20352.aspx
      

  3.   

    http://dotnet.aspx.cc/ShowDetail.aspx?id=9D49B3EF-0F91-421B-841F-5D9A000BDA04
      

  4.   

    http://dotnet.aspx.cc/ShowDetail.aspx?id=9D49B3EF-0F91-421B-841F-5D9A000BDA04
      

  5.   

    <script language="javascript">
    document.write(location.href)
    </script>
      

  6.   

    flashget是怎么实现的阿?它的读取好像在客户端,而且速度很快
      

  7.   

    <script>
    var alinks=document.links;
    var str;
    for(obj in alinks){
        str+=obj.innerHTML+":"+obj.href+"\n";
    }
    alert(str);
    </script>
      

  8.   

    我要做的是像flashget那样的东东,不是asp.net