<input type=button value="另存为" onclick="javascript:document.execCommand('saveas');">

解决方案 »

  1.   

    ■另存为■ 
    <input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为><OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
      

  2.   

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

  3.   

    感谢各位大虾,可是,如果是Linex系统呢,好像就不能用了,不知道有什么办法。