title: how to replace form element with div and keep the inner html in jQuery or asp.net javascript lib?
body: <p>I want to replace a form element with a div and keep the inner html of the form inside the inserted div element. i tried jquery it gives me unknown html element as selection result.  </p>
  
  <p>This is the target form with inner HTML:</p>
  
  <pre><code>&lt;form name="Contents2_frmLogin" action="/SiteManagement/SiteWizard.aspx" method="post"&gt;
    &lt;table border="0"&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>It is just a form element with a table inside and some input elements.</p>