jQuery CSV jQuery的CSV插件

程序名称:jQuery CSV

授权协议: 未知

操作系统: 跨平台

开发语言: JavaScript

jQuery CSV 介绍

Convert CSV data into an array of arrays.

`// Convert CSV data into array of arrays
jQuery.csv()(“1,2,3\n4,5,6\n7,8,9\n”); // = [ [1,2,3], [4,5,6], [7,8,9] ]

// It handles quotes
jQuery.csv()(‘a,”b,c”,d’); // = [ [‘a’, ‘b,c’, ‘d’] ]

// You can use any delimiter, e.g. tab
jQuery.csv(“\t”)(“a\tb\nc\td\n”); // = [ [‘a’,’b’], [‘c’,’d’] ]

// Quick usage with AJAX:
jQuery.get(csvfile, function(data) { array = jQuery.csv()(data); });

// Using across multiple files
var getTSV = jQuery.csv(“\t”);
jQuery.get(csvfile1, function(data) { array1 = getTSV(data); });
jQuery.get(csvfile2, function(data) { array2 = getTSV(data); });`

jQuery CSV 官网

http://plugins.jquery.com/project/csv

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...