title: How to add together numerical values that are stored in strings?
body: <p>I'm trying to add <code>1</code> to my JavaScript variable, but the following code doesn't give expected results:</p>
  
  <pre><code>var val1 = document.getElementById('&lt;%= rng1.ClientID %&gt;');
  var val2 = val1.value + "1";
  alert(val2.value);
  </code></pre>
  
  <p>How can I do this?</p>