Hide the parent element if the child value matches certain string JQuery
<p>In a table I have a <code>&lt;td&gt;</code> whose html is either <strong>True</strong> or <strong>False</strong>. If the value is <strong>False</strong> then hide the <strong>parent</strong>.</p>

<p>HTML :</p>

<pre><code>&lt;tr&gt;
  &lt;td class="IsRequired" align="left" valign="middle" style="width:3px;"&gt;False&lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>Query :</p>

<pre><code>$('.IsRequired').html("False").parent().hide();
</code></pre>

<p>This hides all the <code>&lt;td&gt;</code> whose class is "<strong>IsRequired</strong>"</p>

<p>Please advice.</p>
