What is the best method in jQuery to add an additional row to a table as the last row?
Is this acceptable?
$(\'#myTable\').append(\'
-
2020-11-21 06:19
My solution:
//Adds a new table row
$.fn.addNewRow = function (rowId) {
$(this).find('tbody').append(' ');
};
usage:
$('#Table').addNewRow(id1);
|