高手,谢了!不过这个保存只能保存html,不能全部保存,要想全部保存如何实现?

解决方案 »

  1.   

    <script>
    function KillError()
    {
    return true;
    }
    window.onerror=KillError();
    </script>
    <object classid="clsid:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=WB width=0></object>
    <input type="button" onclick="document.all.WB.ExecWB(4,1);" value="另存">
      

  2.   

    gjd111686(数字金刚)用的activeX,ie安全限制了,每次要提示,不过确实能实现全部保存!
    有没有更好的办法,不用弹出对话框,就将网页全部保存??
      

  3.   

    <input type=button value=另存为   onclick=document.execCommand('Saveas',false,'d:\\test')>
      

  4.   

    3、〖另存为〗命令的实现 
      [格式]:document.execCommand("saveAs") 
      [说明]将该网页保存到本地盘的其它目录! 
      [举例]在<body></body>之间加入: