0

I'm trying to process a CSV with jquery-csv:

jQuery(document).ready(function() {
    jQuery.get("file.csv", function(data) {
        array = jQuery.csv()(data);
    });
});

But all I get is this error:

Uncaught TypeError: jQuery.csv is not a function

The paths are definitely right.
Also I can see the csv with just console.log(data).

Has anybody any experience with jquery-csv?

1 Answer 1

1

According to https://github.com/evanplaice/jquery-csv#usage, try this:

array = jQuery.csv.toArray(data);
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.