138
rated 0 times
[
142]
[
4]
/ answers: 1 / hits: 17864
/ 10 Years ago, wed, february 19, 2014, 12:00:00
Trying to initiate a browser download in Javascript, but the data I want to be downloaded is in a string, not a file. I know if it were a file, the following would do it:
window.location.href = '/filepath/file.csv';
How can I get this same effect, only with a string (with csv data), not a file that already exists on the server?
More From » javascript