FAQ Topic - How do I prompt a "Save As" dialog for an accepted mime type?
- From: "FAQ server" <javascript@xxxxxxxxxxxxxx>
- Date: Thu, 14 Sep 2006 23:00:01 +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 »
http://aspfaq.com/show.asp?id=2161
http://support.microsoft.com/support/kb/articles/Q260/5/19.ASP
===
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://www.jibbering.com/faq/.
The FAQ workers are a group of volunteers.
.
- Prev by Date: Re: Prevent user copy + pasting from one field to next
- Next by Date: Re: What's faster, saving an HTML DOM node as a variable, or using getElementById?
- Previous by thread: I don't think that an iframe is a popup
- Next by thread: Folder location validation
- Index(es):
Relevant Pages
|