add table rows in jquery code example
Example 1: Add table row in jQuery
$('#myTable tr:last').after('<tr>...</tr><tr>...</tr>');
//OR
$('#myTable > tbody:last-child').append('<tr>...</tr><tr>...</tr>');
Example 2: add table row jQuery
$('#myTable tr:last').after('<tr>...</tr>');