Find if table has a specific string in jquery
<p>I have a html table:</p>

<pre><code>Name   Length Description  x
Name1  444    Blabd        x.png
Name2  55     Blabla       x.png
Name3  11     Blaaa        x.png
</code></pre>

<p><code>table id="firsttable"</code> <code>img class="delete"</code> </p>

<p>I have a value (from other table):</p>

<pre><code>var value = $(this).closest('tr').find('td:first').html();
</code></pre>

<p>I want to find that value in first column of a table and delete x.png of a row, which has that value. </p>

<p>Something like: (with mistakes)</p>

<pre><code>$('#firsttable tr td:first:contents("'+value+'")').closest('tr').find('td:last').remove();
</code></pre>
