Cannot use text in option value with keyup function
<p>I want be able to capture to name=<code>formdesc</code> an option value that is text and not numbers, but I need numbers to calculate price point below. Is there a way to change it, so that it calculates properly (below JS) and capture option values as text only instead numbers (HTML)?</p>

<p>Sample of what I need:</p>

<pre><code>    &lt;select id="apparelType" name="formdesc"&gt;
    &lt;option selected="selected" value="na"&gt;Select&lt;/option&gt;
    &lt;option value="tshirt"&gt;T-Shirt&lt;/option&gt; 
</code></pre>

<p>BUT Breakes my JS!</p>

<p>HTML: (what I have now)</p>

<pre><code>&lt;select id="apparelType" name="formdesc"&gt;
    &lt;option selected="selected" value="na"&gt;Select&lt;/option&gt;
    &lt;option value="0"&gt;T-Shirt&lt;/option&gt;
    &lt;option value="1"&gt;Shorts&lt;/option&gt;
    &lt;option value="2"&gt;Hat&lt;/option&gt;
    &lt;option value="3"&gt;Bag&lt;/option&gt;
&lt;/select&gt;
&lt;input id="numb" type="number" name="formterm"&gt;
&lt;id="tot"&gt;&lt;Total: $0.00&amp;nbsp;&gt;
</code></pre>

<p>JS: </p>

<pre><code>&lt;script type="text/javascript"&gt;// &lt;![CDATA[
// 
$(document).ready(function(){
                          $('#numb').keyup(function(){
                                                        var appVal = new Array();
                                                        appVal[0] = 15; &lt;--[tshirt]
                                                        appVal[1] = 20;
                                                        appVal[2] = 25;
                                                        appVal[3] = 30;
                                                        var cost = 0;
                                                        var fmapVal = $('#apparelType').val();
                                                        if (fmapVal == 'na')
                                                        { alert ('Please select an apparel type.');
                                                        }
                                                        else
                                                        {
                                                            cost = appVal[fmapVal];
                                                        };
                                                        //alert(cost);
                                                        var getNumb = $('#numb').val();
                                                        var baseTotal = cost * getNumb;
                                                        var getTax = baseTotal * .06;
                                                        var getTotal = baseTotal + getTax;
                                               $('#tot').html('Total: $' +  getTotal.toFixed(2));
                                                        $('#formbal').val(getTotal.toFixed(2));
                                         });
           });
  // ]]&gt;&lt;/script&gt;
</code></pre>
