Closed axuebin closed 8 years ago
Thanks anyway. I found the solution....
function tableToJson() {
var table = $('#table1').tableToJSON({
textExtractor: function (cellIndex, $cell) {
// get text from an input or select inside table cells;
// if empty or non-existent, get the cell text
return $cell.find('input,input').val() || $cell.text();
}
});
}
I put the form in the table, when I use table-to-json, It cannot be displayed, like this:
Should I do something? Thanks.