<script language="javascript">
var oWin;
function openIt()
{
oWin=window.open("test.txt","myWin");
}
function saveIt()
{
oWin=window.open("test.txt","myWin");
oWin.document.execCommand("saveAs",false,"c:\\2.txt")
}
</script>
</head>
<body>
<input type="button" name="open" value="打开" onclick="openIt()">
<input type="button" name="saveAs" value="保存" onclick="saveIt()">
</body>
本文使用Blog_Backup未注册版本导出,请到soft.pt42.com注册。