title: When I correct the invalid input(s) and try to submit again, the code will not execute
body: <p>I have this code in javascript/jquery which takes input from a form with ID <code>#account-save</code> and is using ajax <code>ajax_send.submit(false, action, data, account_save);</code> to submit data to the server.</p>
  
  <p>The following code will successfully submit the data. If the data submitted contains invalid inputs, the code below receive html that marked red those inputs containing the invalid data.</p>
  
  <pre><code>(function($, undefined) {
    "use strict";
  
    $(function() {
      $("#account-save").click(function(e) {
        var action = $(this).data('action') + '/edit';
        var data   = { 'form_data': $('#user-profile').serialize() }
        ajax_send.submit(false, action, data, account_save);
      });
    });
  
    function account_save(result = false) {
      if (result != false) {
        $('#user-profile').html(result.html);
      }
    }
  })(jQuery);
  </code></pre>
  
  <p>The problem is, when I correct the invalid input(s) and try to submit again, the code above will not execute.</p>
  
  <p>Is there anyone have the same problem?
  Any help would be appreciated.</p>