Results 1 to 3 of 3

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

Threaded View

  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.

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