title: Invisible reCAPTCHA is not submitting, just reloading itself infinitely
body: <p>I have the programatically binding method, once I click the submit button, the page never shows up signs of loading. I only see the badge reloading infinitely, my console shows the same resources being loaded repeatedly, once it reaches a point where apparently reCAPTCHA thinks I'm a robot spamming and makes me solve captchas, I solve them and the process is repeated once again, it never ends.</p>
  
  <p>This is my code based on this answer <a href="https://stackoverflow.com/questions/41665935/html5-form-validation-before-recaptchas/41694352#41694352">HTML5 form validation before reCAPTCHA&#39;s</a>:</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src='https://www.google.com/recaptcha/api.js' async defer&gt;&lt;/script&gt;
  ...
  &lt;form id='login' role='form' method='post'&gt;
      &lt;div class="form-group"&gt;
          &lt;label for='form-user'&gt;Username&lt;/label&gt;
          &lt;input type='text' class='form-control' id='form-user' name='form-user' placeholder='Username' required&gt;
      &lt;/div&gt;
      &lt;div class="form-group"&gt;
          &lt;label for='form-password'&gt;Password&lt;/label&gt;
          &lt;input type='password' class='form-control' id='form-password' name='form-password' placeholder='Password' required&gt;
      &lt;/div&gt;
      &lt;div class='g-recaptcha' data-sitekey='my-key' data-size='invisible' data-callback='onSubmit'&gt;&lt;/div&gt;
      &lt;input type='submit' value='Sign In' name='submit-btn' class='btn btn-default'&gt;
  &lt;/form&gt;
  &lt;script&gt;
      $('#login').submit(function (event) {
          event.preventDefault();
          grecaptcha.reset();
          grecaptcha.execute();
      });
  
      function onSubmit(response) {
          $('#login').submit();
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>What could be happening and how to solve it? I'm working on localhost with <code>verify the origin of reCAPTCHA solutions</code> disabled.</p>
  
  <p>Thanks in advance</p>