jquery quantity 1 or more
<p>I have some jquery:</p>

<pre><code>if($('div.ProductNameText').text()=='Product1')
{
$("#kitProduct #Quantity").attr("value", "1");
}
</code></pre>

<p>But i want it so that if it finds Product1 then it allows the customer to enter more than 1.</p>

<p>I am overriding the previous jquery which sets it to 25 because that checks if its a kit product.</p>

<p>Here is the kit product code:</p>

<pre><code>function KitOptionsChanged() {
            // Get total of selected index... if this is above 0 at least 1 dropdown option has been changed
            var totals = 0;
            for (var i = 0; i &lt; $('select.selitemoption').length; i++) {
                totals += $("select.selitemoption").eq(i).attr("selectedIndex");
            }
            if (totals == 0) {
                // No dropdowns changed from defaults - check textbox
                if ($("#kitProduct #KitFormOptions textarea").val() == "") {
                    // Min value doesn't need to be 25... do i need to anything here?
                } else {
                    //Check current
                    if (parseInt($("#kitProduct #Quantity").val()) &lt; 25) {
                        // If it is less than 25 then set it to 25
                        $("#kitProduct #Quantity").attr("value", "25");
                    }

                    if($('div.ProductNameText').text()=='This is product ABC'){
                        $("#kitProduct #Quantity").attr("value", "1");
                        }
                }
            }
            else {
                // At least 1 index has been changed... set min total to 25.
                if (parseInt($("#kitProduct #Quantity").val()) &lt; 25) {
                    $("#kitProduct #Quantity").attr("value", "25");
                }
            }
        }
</code></pre>

<p>EDIT:added the quantity box html:</p>

<pre><code>&lt;input type="text" maxlength="4" size="3" onkeyup="if(typeof(getShipping) == 'function'){getShipping()}" onchange="if(typeof(getShipping) == 'function'){getShipping()}" id="Quantity" name="Quantity" value="1"&gt;
</code></pre>
