<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script type="text/javascript">
    window.onload = function(){
        var aTag = document.getElementById('a');
        var butt = document.getElementById('next');
        butt.onclick = function(e){
            var url = aTag.getAttribute('href');
            var count = parseInt(url.substr(url.lastIndexOf('/') + 1,5));
            var c = count + 1;
            aTag.setAttribute('href',url.substr(0,url.lastIndexOf('/')) + '/' + c + '.zip');
            
        };
    };
</script>
</head><body>
    <a href="http://forum.csdn.net/down/1001.zip" id="a">跳转链接</a>
    <input type="button" id="next" value="点我增加" />
</body>
</html>
以上代码感谢MuBeiBei提供.补充下难度大点的问题,还是这个JS效果.如果再加个自动运行按钮,就是点击后会自动从1001到1999依次打开,当然是在新窗口打开了.这里应该好实现,难度在于如何给这个打开的链接做判断,就是打开的地址如果不存在则关闭这个页面,然后再打开下个页面.如果存在则停止脚本运行? JS能实现么?或是换个思路实现以上的效果?