JQuery: select an HTML table that contain a given element
<p>Let's say I have the following HTML</p>

<pre><code>&lt;table id = "mytable"&gt;
  &lt;tr&gt;
    &lt;th&gt;Hiring Manager&lt;/th&gt;
    &lt;td&gt;&lt;textarea id = "textComments" cols = "15"/&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>From the above markup, I'd like to append the following row</p>

<pre><code>&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;
       &lt;span class = "CharCounter"&gt;
           &lt;span id="lblCharCounter"&gt;Label&lt;/span&gt;
           characters (500 max)
       &lt;/span&gt;
   &lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>I want to be able to select the table, from the <strong>textarea</strong>.</p>

<p>Thank for helping</p>
