The following code works fine as i am able to add multiple 'tr' rows as i need it but at the same time multiple 'tbody' element is also created. So, I am trying to find a solution where i only create 'tbody' once and add multiple rows.
$results.each(function(){
$('#tbl').append($('<tbody>')
.append($('<tr>')
.append('<td>' + Item_val + '</td>')
.append('<td>' + Name_val + '</td>')
.append('<td>' + No_val + '</td>'))
);
});
<table id="tbl">
<thead>
<tr>
<th>Item</th>
<th>Name</th>
<th>No</th>
</tr>
</thead>
</table>