There are many examples of reading a CSV file using jQuery, however javascript examples are few and far between.
Since I use an internal script editor for a specific application, I am limited only to using Javascript.
I have a csv file that has headers followed by data on each line.
Heading1,Heading2,Heading3,Heading4
row1data1,row1data2,row1data3,row1data4
row2data1,row2data2,row2data3,row2data4
The separator used ,, but there may be others, for example. ^.
Since I cannot upload the file, I have the ability to manually reference the absolute path.
Is there a way that I can only use javascript to read a csv file?
source
share