user991735
user991735

Reputation: 682

How to parse a CSV file into an array in Javascript

From what i understand, This usually has to be done server side. However i have read that it is possible to point to the csv file in a .js file. This would be more useful to me as i am not messing around with server side code and stuff for this project and will be all on my local machine. I saw an article with example code to do this somewere however i can't locate that article atm. Anyone know how to do this?

Upvotes: 2

Views: 1763

Answers (1)

Ashwin Krishnamurthy
Ashwin Krishnamurthy

Reputation: 3758

To access any file from the system you have to use directX in IE or read up on how to use NPAPI for mozilla support.If you are willing to use HTML5, check out its filereader API here.

Upvotes: 1

Related Questions