title: making an onscreen numeric keyboard
body: <p><strong>What i need:</strong> Make a HTML Form that haves a digital numeric keyboard "pin-pad" like a calculator that adds the number to a <code>&lt;input type=text&gt;</code> every time you click on the desired number.</p>
  
  <p><strong>Details:</strong> Supposed to make it possible to enter, for example, a phonenumber, social security number etc. And then, submitting it.</p>
  
  <p><strong>Problem:</strong> When i click on the <code>&lt;input id=1&gt;</code> the <code>onClick</code> dont does what i wanted, this value appear's to be always empty or something like that.</p>
  
  <p><strong>I've tried:</strong> Tried html inline javascript code on the <code>onClick</code> event using following without success:
  </p>
  
  <pre><code>&lt;form action="" method="" name="vform"&gt;
  &lt;input type="text" value="" name="mvar" /&gt;&lt;br /&gt;
  &lt;input type="button" class="fbutton" name="1" value="1" id="1" onClick=”document.vform.mvar.value+='1'” /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How it can be done ?</p>