add a new row in a table on click of button add using 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>');