JQuery with Forms
<h2>I have the following HTML:</h2>

<pre><code>&lt;form class="lala"&gt;
&lt;input type="text" id="textv" value="Text 1" size="5"&gt;
&lt;input type="submit" value="Go!"&gt;&lt;/form&gt;

&lt;form class="lala"&gt;&lt;input type="text" id="textv" value="Text 2" size="5"&gt;&lt;input type="submit" value="Go!"&gt;&lt;/form&gt;
</code></pre>

<h2>Now I have the following JQuery:</h2>

<pre><code>$(document).ready(function(){
    $(".lala").submit(function() {
        alert($("#textv").val());
});
</code></pre>

<p>Of course this is not working (I know I shouldn't use duplicate IDs) , but how can I show an alert of the text value where the corresponding submit button was clicked?</p>

<p>Thanks,
Joel</p>
