How to increase the value of a quantity field with jQuery?
<p>I have a form with some quantity field and a plus and minus sign on each side,</p>

<pre><code>    &lt;form id="myform"&gt;
        product1
        &lt;input type="submit" value="+" id="add"&gt;
        &lt;input type="text" id="qty1"&gt;
        &lt;input type="submit value="-" id="minus"&gt;
        product2
        &lt;input type="submit" value="+" id="add"&gt;
        &lt;input type="text" id="qty2"&gt;
        &lt;input type="submit value="-" id="minus"&gt;
    &lt;/form&gt;
</code></pre>

<p>I'd like to increase the value of the field by one if the add
button is pressed and decrease by one if minus is pressed.
Also the value shouldn't get less than 0.</p>

<p>Is there a way to do this in jQuery?</p>
