Instant read from CSV
I have found a very nice working code which reads the data from the file.
http://www.cgrats.com/javascript-csv-file-reader.html
I am quite new in reading data from files and this code seems complicated
to me.
Now, the program asks you for location of the file, and then writes it to
console.
What I need is that it will read the files 'base_1.txt' and 'base_2.txt',
and then insert data to the array base_1_array, base_2_array, instantly,
wiwouth asking for any event.
Something like this
readCSV(file_name,array_name){
//function from link(file_name,array_name)
}
Thanks for all your help :)
No comments:
Post a Comment