Hi
I have a simple table on cshtml that contain some data,
I want to empty data of it by using id table using jquery or Js
I use "$("#_tblwelltest").empty();" but didnt work
Thanks
<table id="_tblwelltest" class="table table-vcenter card-table">
<thead class="table-success" style="background:white;">
<tr>
<th style="font-size: 80%; font-weight: 700;">Well Name</th>
<th style="font-size: 80%; font-weight: 700;">Test Type</th>
<th style="font-size: 80%; font-weight: 700;">Test Date</th>
<th style="font-size: 80%; font-weight: 700;">Water (STB)</th>
<th style="font-size: 80%; font-weight: 700;">Oil (STB)</th>
<th style="font-size: 80%; font-weight: 700;">Gas (MSCF)</th>
</tr>
</thead>
<tr>
<td id="_PLOT_NAME"></td>
<td id="_TEST_TYPE"></td>
<td id="_TEST_DATE"></td>
<td id="_WATER_FLOW_AMOUNT"></td>
<td id="_OIL_FLOW_AMOUNT"></td>
<td id="_GAS_FLOW_AMOUNT"></td>
</tr>
</table>
<script>
$(document).ready(function () {
$("#_tblwelltest").empty();
});
</script>