You can not use direct $.csv
after run getScript
function. because maybe it take some time to load js but console.log
statement run after getScript
statment run . so you have to try this ..
$.getScript("../js/jquery-csv.js",function(){
console.log($.csv);
});
2
solved $.csv undefined even after importing jquery-csv