FAQ Topic - How do I prompt a "Save As" dialog for an accepted mime type? (2012-02-06)
- From: "FAQ server" <javascript@xxxxxxxxxxxxxx>
- Date: Mon, 06 Feb 2012 00:00:03 +0000
-----------------------------------------------------------------------
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.
.
- Prev by Date: Re: Looking for a Monday-Friday J/S
- Next by Date: Unexpected scope question
- Previous by thread: Very Huge collection of Solutions Manuals & Test Banks
- Next by thread: Unexpected scope question
- Index(es):
Relevant Pages
|