solitario
Jul 31st, 2004, 01:39 AM
Hello all.
I have a function which calls the Save As dialog box in Internet Explorer. However, I have this on a PHP page and when the dialog box appears, the default File name comes with the *.php extention. Is there any way I can tell the dialog box to display it with an *.htm extension?
Many thanks.<script>
function SavePage(){document.execCommand("SaveAs");}
</script>
<a href="javascript:SavePage();">
I have a function which calls the Save As dialog box in Internet Explorer. However, I have this on a PHP page and when the dialog box appears, the default File name comes with the *.php extention. Is there any way I can tell the dialog box to display it with an *.htm extension?
Many thanks.<script>
function SavePage(){document.execCommand("SaveAs");}
</script>
<a href="javascript:SavePage();">