Algo así te puede servir?
Código:
<html>
<head>
<title> New Document </title>
<script language="JavaScript">
<!--
function guardar(){
document.execCommand("SaveAs","false","Nombre");
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF">
<input type="button" value="Guardar" onClick="guardar();">
</body>
</html>
Más información en <a href='ir.asp?http://www.forosdelweb.com/mensaje.asp?id=71340' target='_blank'>http://www.forosdelweb.com/mensaje.asp?i...</a>
<hr noshade size=1><img src="http://www.gograph.com/Images-8712/ClipArt/cat03.gif" height="50" border=0 align="absmiddle"> <font size="2" face="verdana" color="#000000">
bet[/CODE]