keyup with more then 1 input form
<p>The first input form always works but the second, third, forth and so on never do. What am I doing wrong?</p>

<p>Jquery</p>

<pre><code>$('#cartUpdate').keyup(function() {

    var url = $(this).attr('action');   
    var qty = $('input[name=qty]').val();
    var rowid = $('input[name=rowid]').val();

    if(qty &gt; 0) {
        $.post(url, {qty: qty, rowid: rowid }, function(changeCost) {       

        });
    }   

    return false;
});
</code></pre>

<p>Html:</p>

<pre><code>&lt;form action="cart/update" id='cartUpdate' method="post" accept-charset="utf-8"&gt;    
    &lt;input type="hidden" name="rowid" value="76ea881ebe188f1a7e7451a9d7f17ada" /&gt;  
    &lt;input type="text" name="qty" value="5"  /&gt;     
&lt;/form&gt; 
&lt;form action="cart/update" id='cartUpdate' method="post" accept-charset="utf-8"&gt;    
    &lt;input type="hidden" name="rowid" value="e7a36fadf2410205f0768da1b61156d9" /&gt;
    &lt;input type="text" name="qty" value="1"  /&gt;  
&lt;/form&gt; 
</code></pre>
