<input onClick="document.execCommand('SaveAs',false,'c:\\index.htm')" type=button value=另存为[指定文件名和路径] name="button2">
<input onClick="document.execCommand('SaveAs',false,null)" type=button value=另存为[不指定文件名和路径] name="button2">