Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

how to export javascript array into csv

user-image
Question added by Faizan Ahmad , Software Engineer , cardekho.com
Date Posted: 2013/04/13
Murad Bin Makhashin
by Murad Bin Makhashin , Software Developer , Dar Al Tamleek

If you are using ASP.NET, you can use Generic Handler and pass to it an ID that will generate that array and then write the result as CSV in that Generic Handler's response.

Muhammad Majid Saleem
by Muhammad Majid Saleem , Senior PHP Developer / Project Manager , SwaamTech

There is a function named JOIN available in javascript as a replacement of PHP implode() function.

You can use it like:

arrayOfValues.join(",");

More Questions Like This