Calling a function based on class and modifying inner ids
<p>I have the following code:</p>

<pre><code>$('.tagform').submit(function() {
            $('#tagsubmit-???').toggle('1000');
            return false;
});
</code></pre>

<p>And I have many <code>&lt;form&gt;</code> elements with the class <code>tagform</code>.</p>

<pre><code>&lt;form class="tagform" id="tagform-1"&gt;
    &lt;ul id="myTags-1"&gt;&lt;/ul&gt;
    &lt;input type="submit" value="submit" id="tagsubmit-1" class="tagsubmit" /&gt;            
&lt;/form&gt;

&lt;form class="tagform" id="tagform-2"&gt;
    &lt;ul id="myTags-2"&gt;&lt;/ul&gt;
    &lt;input type="submit" value="submit" id="tagsubmit-2" class="tagsubmit" /&gt;            
&lt;/form&gt;
</code></pre>

<p>I placed the question marks so you can better understand what I'm trying to do.</p>

<p>How can I tell which form was submitted if my <code>submit()</code> function is called based on the class and not the id?</p>
