Why does jquery-csv output '[]' from my csv?

24 Views Asked by At

My code is

<script type="text/JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" ></script>
    <script src="jquery.csv.js"></script>
    <script type="text/javascript">
        data = $.csv.toObjects("testi.csv");
        console.log(data)
    </script> 

and my code returns [], as if the array was empty.

I tried another file and with 'simple' values so that shouldn't be a problem.

0

There are 0 best solutions below