title: Javascript - fill in the textbox dynamically
body: <p>Is it possible to fill textbox using javascript?
  I have this code</p>
  
  <pre><code>&lt;input type="text" id="output"&gt;
  </code></pre>
  
  <p>After using the script, I want to have selected value in textbox. I'm very new to javascript and I tried this</p>
  
  <pre><code>javascript: document.getElementById('output').innerHTML = "100";
  </code></pre>
  
  <p>However, it doesn't work as I expected. So after using the script I want HTML look like </p>
  
  <pre><code>&lt;input type="text" id="output" value="100"&gt;
  </code></pre>
  
  <p>Is there any way to manage this? Thanks</p>