title: How to add values in HTML forms?
body: <p>How would i add the "value" that are selected from radio boxes in html forms? So when someone selects an option it would add the other "values" onto it and total that it at the bottom of the page. And does anyone know if it could add "names" total "values" onto it as well? thanks</p>
  
  <p>My code looks like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h3&gt;&lt;u&gt;Title&lt;/u&gt;&lt;/h3&gt;&lt;br&gt;
   &lt;form action=""&gt;
   &lt;input type="radio" name="num" value="0"&gt;Text&lt;br&gt;
   &lt;input type="radio" name="num" value="2"&gt;Text&lt;br&gt;
   &lt;input type="radio" name="num" value="80"&gt;Text&lt;br&gt;
   &lt;input type="radio" name="num" value="110"&gt;Text&lt;br&gt;
   &lt;input type="radio" name="num" value="85"&gt;Text&lt;br&gt;
   &lt;input type="radio" name="num" value="120"&gt;Text&lt;br&gt;
   &lt;/form&gt;
      </code></pre>
  </div>
  </div>
  </p>