jquery add element to table 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: jquery append table row
$('#someTableID tr:last').after('<tr><td>Some data here</td></tr>');
Example 3: add table row jQuery
$('#myTable tr:last').after('<tr>...</tr>');