Simply copy (Ctrl-C) few cells from your spreadsheet or table in text application.
Then click test link and paste data there.
The code of this demo is:
<a id="test" href="#">test link</a>
<script>
jQuery(document).ready(function() {
jQuery("#test").parseTable({
success: function(data){
alert(
'the action was completed, here is the data \n' +
data.map(
function(v){
return JSON.stringify(v);
}
).join("\n"));
},
cancel: function(){
alert('the action was cancelled');
}
});
});
</script>
https://github.com/andrey012/jquery-parsetable