I'm trying to use the jquery csv plugin to load a csv file into an array. However, firebug is not very happy with it.
Firebug keeps saying "not well-formed" when processing the csv file.
The csv file looks like this:
"PC0003","Windows XP Professional","2006/01/05"
"PC0002","Windows XP Professional","2006/01/10"
"PC0001","Windows XP Professional","2006/01/30
I'm trying to load it in my page like this:
var myFile = jQuery.get("output.csv", function(data) { array = jQuery.csv()(data); })
however if i try to explore my array in the DOM tree it seems like its all there. but when i try to enter in the firebug console:
console.debug(myFile[1]);
it says undefined.
is this firebug's fault or my code is wrong?
thanks in advance for your help.