<input type=button value=保存 onclick=document.execCommand('SaveAs')>
<input type=button value=另存为 onclick=document.execCommand('Saveas',false,'c:\\test.htm')>
<input type=button value=另存为 onclick=document.execCommand('Saveas',false,'c:\\test.htm')>
解决方案 »
- js获取file框里面的文件路径
- c:if logic:Iterate c:forEach 如何嵌套使用
- 用JS获取鼠标停留在某个点的时间的问题
- js如何触发控件的事件?
- 电子书的js代码请教,我是新手哈,请指点。。
- 怎么解决eclipse中js文件不能保存中文字符的问题?
- 我的json经过在线检验是正确的,为什么javascript读取不到?
- 用css控制的下拉框中文本过长无法显示完全的问题?
- 我想用javascript连接sql server数据库,并实现查询功能,不知道javascript能否做到?
- Form中单击普通Button如何传值
- 这个正则表达式不好写,各位帮帮忙。版主,你也过来看看!
- JAVASCRIPT如何能中断程序
document.execCommand('saveas')
</script>
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
<input type=button value=另存为 onclick=document.all.WebBrowser.ExecWB(4,1)>