how to update a price based on form selections
<p>if you take a look at this site <a href="http://www.graphicfirm.com/product.php?productid=2010" rel="nofollow">http://www.graphicfirm.com/product.php?productid=2010</a></p>

<p>see how the price changes when you select something from the select options? How is this being done?
each select looks something like this</p>

<pre><code>&lt;select onchange="javascript: check_options();" name="product_options[326831]" id="po326831"&gt;
&lt;option value="564273"&gt;No&lt;/option&gt;
&lt;option value="564272"&gt;Yes (+ $10.00)&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>what i dont understand is that the select options have a value that does not include the price that will be accumulated with the total. I'm guessing that each item such as 564272 is in an associative array with a price associated with it. can someone write me an example? i tried learning whats on that page but the javascript is really messy.  I also tried to look up a small example online and i couldnt. if you know can you link me to one? also if this method has a name let me know</p>

<p>thanks</p>
