开发者

how to make download box

I want to know how to make a download box in javascript. I want to make a set of data to a csv file and let the users be able to download this. Can someone please point me in the right direction? some links or some snippets of code would be nice. 开发者_如何学运维thank you!


I am assuming you want to generate a file in JavaScript, and offer it to the user to download directly, without going through the server side.

This is not possible in JavaScript proper, but Downloadify is a Flash helper library that does exactly that.

Downloadify is a tiny JavaScript + Flash library that enables the generation and saving of files on the fly, in the browser, without server interaction.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜