-1
我有HTML代碼像this`刪除表中的值
<h4 id="dd">Resource usage</h4>
<table border="1" class="dataframe table table-striped table-bordered table-hover">
<thead>
<tr style="text-align: right;">
<th>peak_value</th>
<th>resource_name</th>
</tr>
</thead>
<tbody>
<tr>
<td>NA</td>
<td>NA</td>
</tr>
<tr>
<td>NA</td>
<td>NA</td>
</tr>
</tbody>
</table>
我取出由database.So表,數據是動態創建的。 現在我不想顯示錶,如果它有整行只有「NA」值(即),值NA使用JavaScript。 請幫我在這裏
你嘗試過什麼做到這一點?向我們展示一些代碼。 –
如果至少有一行只有「NA」值,即使其他行具有非「NA」值,你是否還想隱藏整個表?或者你的意思是說,只有*每行*只有「NA」值才能隱藏它。 – nnnnnn