title: jquery simulate "fake" form submission
body: <p>I am building a template for a project and it currently has no server side built. I need to test my forms and validations and want to "fake" a form submission.</p>
  
  <p>I am trying this:</p>
  
  <pre><code>$("#save").click(function(e) {
    e.preventDefault();
    $(this).closest("form").find("input").prop('disabled',true);
    $("#save").prop('disabled',true);
    $("#edit").prop('disabled',false);
    //submit form via ajax to be built
    $("form").submit(function() {
      alert('success');
    });
  });
  </code></pre>
  
  <p>this is not working as I thought it may.  Any suggestions?</p>