I'm trying to make a button to upload any csv
file to my function, I used to read it locally :
var ccs=loadCSV("sankey.csv");
But now i want to great a button to chose the file, I want to have the value of the var after uploading because of the function that I'm using in my code. I started with something
<input type="file" name="filename" id="filename">
<div id="csvimporthint"></div>
How to get file reader?