<input type="button" value="salva" onclick="document.execCommand('SaveAs',true,'nomep agina.htm')" />

salva

ciao