title: How to remove form from page after submitting?
body: <p>I want the form field to be removed from the page after the user clicks on the submit button, however I can see that the form field is briefly removed and then immediately restored. I don't know why this is happening, if anyone could explain it to me I would be most appreciative.</p>
  
  <pre><code>$("form").on("submit",function () {
      $("form").remove();
  });
  </code></pre>