Alex Rivera | Logout

How can I export Excel files using JavaScript?

Asked 2008-12-02T10:13:52.497
71

Is there any way to generate Excel/CSV through Javascript? (It should be browser compaatible too)

Edit
Report

1 Answer

2

Create an AJAX postback method which writes a CSV file to your webserver and returns the url.. Set a hidden IFrame in the browser to the location of the CSV file on the server.

Your user will then be presented with the CSV download link.

answered 2008-12-02T10:32:28.263

Your Answer