title: Append input text field with value of a div
body: <p>I'm trying to append an input text field and its value to be the value of a div.</p>
  
  <p>Here is what I came up so far:</p>
  
  <pre><code>$(this).append('&lt;input type="text" value=' $('#div1').val() '&gt;');
  </code></pre>