Javascript summation calculator
<p>I would like to make a calculator for summation.</p>

<p>I write number, then i click on button + , and then i enter second number, and then i click on Submit button and get value in input.</p>

<p>I am getting values from input with this:</p>

<pre><code>var something = document.getElementById('inputid');
var newvalue = something.year.value;
</code></pre>

<p>Can anyone help me with this? </p>
