function that appends a table row appended row should have same number of cells as the last row in that table code example
Example 1: how to append rows in table using jquery each function
BY LOVE
Note : 1- 'tblEmployee' is the ID of the table body
$.each(Result, function (key, value)
{
$('#tblEmployee').append('<tr> <td>' + value.EmployeeId + '</td> <td>' + value.Name + '</td> <td>' + value.Gender + '</td> <td>' + value.StateId + '</td> <td>' + value.CityId + '</td> <td>' + value.PhoneNumber + '</td> <td>' + value.Salary + '</td></tr>');
})
Example 2: add table row jQuery
$('#myTable tr:last').after('<tr>...</tr>');