https://github.com/jonathanprince/jquery.table-matrix
Simple jQuery plugin for creating a data matrix from an HTML table
https://github.com/jonathanprince/jquery.table-matrix
Last synced: 11 months ago
JSON representation
Simple jQuery plugin for creating a data matrix from an HTML table
- Host: GitHub
- URL: https://github.com/jonathanprince/jquery.table-matrix
- Owner: JonathanPrince
- Created: 2014-11-27T09:38:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-27T14:21:56.000Z (over 11 years ago)
- Last Synced: 2025-05-30T13:09:17.558Z (about 1 year ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#jquery.table-matrix
##Description
Simple jQuery plugin for creating a data matrix from an HTML table.
Returns a 2D array of table data, can be used with a callback function.
##Usage
Include jQuery and plugin scripts.
**Basic usage:**
```js
// save output in a variable
var data = $( "#myTable" ).tableMatrix();
```
**Specify Callback Function:**
```js
var myCallback = function( data ){
// do something with the data...
};
$( "#my-table" ).tableMatrix( myCallback );
```