title: Sum values using each()
body: <p>I'm trying to return the sum of values ​​every time one of the select is changed. But the sum is always wrong:</p>
  
  <pre><code>$('select').change(function () {
   a = 0;
   $('select').each(function () {
      a += parseInt($('option:selected').val(), 10);
   });
   $('h1 span').html(a);
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/vAu3E/" rel="nofollow">http://jsfiddle.net/vAu3E/</a></p>