FAQ Topic - How do I prompt a "Save As" dialog for an accepted mime type? (2010-08-28)

  • Follow


-----------------------------------------------------------------------
FAQ Topic - How do I prompt a "Save As" dialog for an
accepted mime type?
-----------------------------------------------------------------------

It is not possible with client-side javascript.

Some browsers accept the Content-Disposition header, but this
must be added by the server. Taking the form:-
`Content-Disposition: attachment; filename=filename.ext`

<URL: http://classicasp.aspfaq.com/general/how-do-i-prompt-a-save-as-dialog-for-an-accepted-mime-type.html>
<URL: http://support.microsoft.com/kb/q260519/>


The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/

-- 

The sendings of these daily posts are proficiently hosted
by http://www.pair.com.

0
Reply javascript4 (1174) 8/27/2010 11:00:03 PM


0 Replies
149 Views

(page loaded in 0.048 seconds)


Reply: