What am I doing wrong with this simple javascript?
<p>I have the following code: <a href="http://jsfiddle.net/LvdcU/3/" rel="nofollow">http://jsfiddle.net/LvdcU/3/</a></p>

<p>I don't understand why I keep getting the following error:</p>

<blockquote>
  <p>Uncaught ReferenceError: updatetotalorderCals is not defined</p>
</blockquote>

<p>I'm sure this has everything to do with my limited js knowledge.</p>

<p><strong>UPDATE:</strong></p>

<p>So the original example error has been resolved, but when applying it to my real-world code, the error returns. I've update jsFiddle with all of the applicable code: <a href="http://jsfiddle.net/LvdcU/8/" rel="nofollow">http://jsfiddle.net/LvdcU/8/</a>, (probably more than necessary this time) in hopes of getting this working. Thanks!</p>
