|
-
Jul 31st, 2004, 01:39 AM
#1
Thread Starter
Lively Member
[resolved] Calling IE's Save As dialog box
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.
Code:
<script>
function SavePage(){document.execCommand("SaveAs");}
</script>
<a href="javascript:SavePage();">
Last edited by solitario; May 27th, 2005 at 02:56 PM.
-
Jul 31st, 2004, 06:20 AM
#2
Frenzied Member
I'm almost entirely sure that that's non-standard which means you'll have a hard time finding help on it. I'll have a look on msdn for you.
Stupid me, no JavaScript is standard as there is no standard for it. still having a look though.
Last edited by Acidic; Jul 31st, 2004 at 06:26 AM.
Have I helped you? Please Rate my posts. 
-
Jul 31st, 2004, 06:31 AM
#3
Frenzied Member
well. This is hat I found. It's not very promising. I didn't quite get it all, you can try experimenting with the parameters, but I don't know.
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|