Results 1 to 3 of 3

Thread: [resolved] Calling IE's Save As dialog box

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2004
    Posts
    121

    [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.

  2. #2
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    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.

  3. #3
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    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
  •  



Click Here to Expand Forum to Full Width