title: Display real time results in input box
body: <p>I am trying to display the results of an input in real time in another disabled input box and am not having much luck. Code below:</p>
  
  <pre><code>var inputBox = document.getElementById('input');
  
  inputBox.onkeyup = function(){
      document.getElementById('output').innerHTML = inputBox.value*2;
  }
  
  &lt;input type='text' id='input'&gt;
  
  &lt;input type='text' id='output' disabled&gt;
  </code></pre>
  
  <p>Can anyone help?</p>
  
  <p>Thanks,</p>
  
  <p>John</p>