So I had a thought today. I generate CSV from data already in memory in my JavaScript application, then pump that data to the user’s browser via a File download prompt — all in JavaScript –.
Is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to do it entirely on the client-side, without any server interaction, you will need at least the help of Flash.
Give a look to Downloadify, is the best I’ve seen for client-side file generation.
Check the demo.