I've removed table rows with
jQuery('td:contains(No)').parent().hide();
But cells that contain's a word that begin with "No" will also removed.
This is my rendered html code:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<table class="data-table" id="product-attribute-specs-table">
<col width="25%" />
<col />
<tbody>
<tr>
<th class="label">Zusatz-Info</th>
<td class="data">No</td>
</tr>
<tr>
<th class="label">Info</th>
<td class="data">Nothing</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
jQuery('td:contains(No)').parent().hide();
</script>
How can I select only the td's that contains the No?
Thanks for help a jQuery newbie.