Javascript maths, from input field to h2 tag
<p>Ok we have an input field. Example:</p>

<pre><code>&lt;input id="weeklyRent" name="weeklyRent" size="50" type="text" class="medium"&gt;
</code></pre>

<p>What I wish to do, is add a listener to this field, and when the user has clicked out of the field, to perform some maths, and spew out the answer to h2 tag.</p>

<p>For arguments sake, we shall say weekly amount user inputs is 280</p>

<ol>
<li>d=280/7</li>
<li>y=365 x d</li>
<li>m=y/12</li>
</ol>

<h2>Print value m</h2>

<p>Where m is the calculated monthly value.</p>

<p>d=day | m=month | y=year</p>

<p>I know purists will throw into the mix leap years etc, but we need as close to this for proximity reasons.
Oh and round up to nearest EVEN (whole) number would be useful</p>
