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



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

.



Relevant Pages

  • Re: Comments, suggestions on comp.lang.javascript FAQ
    ... In terms of javascript support and DHTML support, ... some browsers interpret this as ... Upload and post a link to that example so that it can be added to the FAQ. ...
    (comp.lang.javascript)
  • Re: Preload Images
    ... To avoid load delays for the ... But as much as I remember, this feature exposed browsers ... caching images completely on imgObject.src="url" assignments. ... I looked through the clj archives and the time this FAQ ...
    (comp.lang.javascript)
  • Re: ES5 approved
    ... An implementation of ECMAScript is version-agnostic. ... The paragraph is correct in that there is some support in recent implementations of ECMAScript engines ... browsers showing WWW pages, what you must mean is: ... The formatDate function seems like the right approach for reasons stated in the FAQ and in the links to the w3c note and Kuhn page. ...
    (comp.lang.javascript)
  • Re: Comments, suggestions on comp.lang.javascript FAQ
    ... are listed in such FAQ. ... "Mention which platforms and browsers are used or are giving problems. ... The FAQ should have a small section of WSH JavaScript: ...
    (comp.lang.javascript)
  • Re: FAQ Topic - How do I prompt a "Save As" dialog for an accepted mime type?
    ... FAQ server wrote on 12 mei 2007 in comp.lang.javascript: ... It is not possible with client-side JavaScript. ...
    (comp.lang.javascript)