Save dropped down value to cookies
<p>I have a dropped down button and when chosen will be save to cookie.
I have to save in cookie so that I can redeem in the checkout page.
Have this so far but cant save them to the cookies:</p>

<pre><code>    function storeValues(form)
    {
    setCookie("product1",form.product1.value);
            return true;
    }

    &lt;/script&gt;
     &lt;ul&gt;
     &lt;li&gt;&lt;img src="images/1.jpg" alt="Product1" /&gt;
     100% Pure Glutamine Powder&lt;/br&gt;
    Ultimate Recovery Fuel!*&lt;/br&gt;
    Supports Recovery From Workouts!*&lt;/br&gt;


    &lt;form name="myform" action="checkout.html" method="POST"&gt;
    &lt;div align="center"&gt;
    $12.99&lt;/br&gt;
    Select Quantity
    &lt;select name="product1" onchange="return storeValues(this);"&gt;&gt;
    &lt;option value="1"&gt;0&lt;/option&gt;
    &lt;option value="1"&gt;1&lt;/option&gt;
    &lt;option value="2"&gt;2&lt;/option&gt;
    &lt;option value="3"&gt;3&lt;/option&gt;
    &lt;option value="4"&gt;4&lt;/option&gt;
    &lt;option value="5"&gt;5&lt;/option&gt;
    &lt;/select&gt;
    &lt;/div&gt;
    &lt;/li&gt;
</code></pre>
