Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

how to export javascript array into csv

user-image
Question ajoutée par Faizan Ahmad , Software Engineer , cardekho.com
Date de publication: 2013/04/13
Murad Bin Makhashin
par 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
par 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