Jqurey check table is empty code example
Example: how to check if html table is empty using jquery
if ($('#Table1 tr').length == 0) {
//...do something here
}
if ($('#Table1 tr').length == 0) {
//...do something here
}