title: how to append the whole form with value
body: <p>When i tried it append the only <em>values</em> but i want to append the whole block with <em>value</em> in it please help.</p>
  
  <p>PHP Form:</p>
  
  <pre><code>&lt;div class="addhere"&gt;&lt;/div&gt;
  
  &lt;label for="element-1" class="control-label"&gt;Enter Item Name:&lt;/label&gt;
  &lt;input type="text" name="iname" id="iname" class="form-control"/&gt;&lt;br/&gt;
  
  &lt;label for="element-2" class="control-label"&gt;Quantity&lt;/label&gt;
  &lt;input type="number" name="quantity" id="quantity" class="form-control"/&gt;
  
  &lt;br/&gt;
  &lt;input type="button" id="additem" value="Add Item"&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$(document).ready(function(){
      $('#additem').click(function(){
          var iname=$('#iname').val(); 
          var quantity = $('#quantity').val();
          $('.addhere').append(iname,quantity);
      }); 
  });
  </code></pre>
  
  <p>So how to append the new form with <em>value</em> in it. </p>