Closest form append doesnt work
<p>I am using the following code:</p>

<pre><code>$(".searchBtn").closest('form').submit(function () {
   $(this).find('.showComments tr:last').after("&lt;tr&gt;&lt;td&gt;TEST&lt;/td&gt;&lt;/tr&gt;");
});
</code></pre>

<p>and I have a</p>

<pre><code>&lt;form&gt;
&lt;div&gt;
&lt;table class="showComments"&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;input type="submit" class="searchBtn" value="Submit"&gt;
&lt;/form&gt;
</code></pre>

<p>in my HTML page.</p>

<p>However, this code doesn't work. Any ideas?</p>

<p>Thanks</p>

<p>Joel</p>
