On Tue, Jul 14, 2009 at 8:43 PM, Boris Zbarsky<[email protected]> wrote:
> Neale wrote:
>>   window.open("data:text/plain;base64 ," + result);
>
> Oh, if the server returns a base64-encoded string, that's even easier. Just
> do that, but use the right MIME type instead of text/plain?

The downside of that idea is that you don't get a nice filename
suggestion in the resulting save dialog.

-christian
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to