title: JS - Dynamically change Textfield
body: <p>I'm trying to change the value in one textfield from the value of another textfield without any submits. Example:</p>
  
  <p>[Textfield 1 (type 'hello')]</p>
  
  <p>[Textfield 2 ('hello' is inserted here as well)]</p>
  
  <p>Below is my form:</p>
  
  <pre><code>&lt;form action="#" id="form_field"&gt;
     &lt;input type="text" id="textfield1" value=""&gt;
     &lt;input type="text" id="textfield2" value=""&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I don't know much about JavaScript, is this even possible? Would appreciate any help.</p>
  
  <p>Thanks</p>