I am working on a web application for my company that will allow us to do some things with image tags, and I would like to be able to generate the results as a CSV file. I can do this quite easily by dumping CSV data into a div or something on the page and with which the user will copy it. I would prefer that they click the generate button and upload the CSV file, as if they click on the link to the result so that they can more easily just save the file somewhere conveniently.
Is it possible to simulate such things with javascript? I basically want to dynamically generate the file, and then allow them to download it on the client side.
source
share