开发者

how to make download box

开发者 https://www.devze.com 2023-01-05 23:10 出处:网络
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.

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

精彩评论

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