How do i get the string after an element with jquery?
<p>I have several forms on my page.  Each form is named according to the ID in the database.  </p>

<pre><code>&lt;form id="spam-X" method="post"&gt;
</code></pre>

<p>So on my page, if there are 3 comments, there are 3 forms.</p>

<pre><code>&lt;form id="spam-1" method="post"&gt;...&lt;/form&gt;  &lt;form id="spam-2" method="post"&gt;...&lt;/form&gt;   &lt;form id="spam-3" method="post"&gt;...&lt;/form&gt;
</code></pre>

<p>Now I want to run a set of functions for based on what form is submitted.  So I have my submit function in jquery...</p>

<pre><code>$("form#[id^='spam']").submit(function() {  
</code></pre>

<p>Now the problem is, I want to get the contents within this specific form that was clicked, so I'm assuming I will need the trailing ID (spam-1, spam-2, spam-3).... How do I get that value?</p>
