title: Using jQuery to remove a second form element without losing the child elements
body: <p>I have some AJAX work that brings across an additional form element that I don't need in the DOM.  I don't have the ability to remove it server side, so I'm looking for some jQuery or classic JavaScript that will allow me to capture all the child elements of the form, remove the form I don't need and finally re-append the child elements back to the DOM.</p>
  
  <p>Any help would be much appreciated</p>
  
  <p>EDIT: Thanks for the quick answers, the below is what I actually used and it works perfect</p>
  
  <pre><code>            // Captures the children
              var children = $("form:eq(1)").children();
              // Removes the form
              $("form:eq(1)").remove();
              // append the child elements back into the DOM 
              $("#fillDiv").append(children);
  </code></pre>