jQuery-CSV + Flot read data from csv file relative path -


I try to implement jQuery-CSV with flot.

An example of opening a file is to plot it with a hard disk and plot it as a graph. It works fine.

  & lt; Div id = flot2 style = "width: 600px; height: 300px; margin: 0 auto" & gt; & Lt; / Div & gt; & Lt; Input id = file input type = file name = files [] multiple />  

But in my case I do not want to open a file from the hard disk - .css file is already openlude in my html structure.

  / data /test.csv fe  

Does anyone know how to change the input in the path of .csv file?

There is a demo for this ...

The file has to be loaded through an open file dialog. The sandbox prevents security scripts from directly accessing the user's filesystem.

Disclaimer: I am the author of jquery-csv.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -