remove form element from document in javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7020788/how-to-remove-dom-element">How to remove dom element?</a>  </p>
</blockquote>



<p>How to remove form from document?</p>

<pre><code>var formeEl=document.createElement("FORM");   
    formeEl.method="POST";
    formeEl.action="http://localhost:8080/url";
    document.body.appendChild(formeEl);
    formeEl.submit();  
</code></pre>

<p>After submission form i want remove formeEl.</p>
