86
rated 0 times
[
91]
[
5]
/ answers: 1 / hits: 57279
/ 10 Years ago, tue, july 22, 2014, 12:00:00
Is there a way to convert a string from a JavaScrip variable, into a downloadable file that users can download when clicking a button ?
Thanks for any advice.
<div id="txt">Lorem Ipsum</div>
<br />
<button id="test">Download text as file !</button>
More From » javascript