title: Submitting a form with jQuery for Google reCaptcha v3
body: <p>I have the following code. </p>
  
  <p>When a form is submitted I wan't the reCaptcha to execute and the form to submit if the score is greater than 0.8. I don't get any errors in the console and the form does not submit no matter what I try. But it does get to </p>
  
  <pre><code>console.log("Success ! Submitting data");
  </code></pre>
  
  <p>so I know the code is working up until that point. </p>
  
  <pre><code>&lt;script src="https://www.google.com/recaptcha/api.js?render=KEYXXX"&gt;&lt;/script&gt;
  &lt;script&gt;
    $(function(){
      grecaptcha.ready(function () {
          $( "#EnquiryForm" ).submit(function( e ) {
            e.preventDefault();
            var $this = $(this);
            grecaptcha.execute('KEYXXX', { action: 'contact' }).then(function (token) {
  
               fetch('https://SOMEDOMAIN.com/process.php?&amp;recaptcha_response='+token).then(function(response) {
                   response.json().then(function(data) {
                      if (data.success &amp;&amp; (data.score &gt; 0.8)) {
                          console.log("Success ! Submitting data");
  
                          // HOW DO I SUBMIT THE FORM HERE ?
                          // I HAVE TRIED THE FOLLOWING 
  
                          // $this.submit();
                          // $this.unbind('submit').submit();
                          // $( "#EnquiryForm" ).submit();
                          // $(e.target).submit();
                      }
                    }).catch(function(){
                       console.log("Captcha error, no response");
                    });
                });
  
            });
      });
      });
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>Please presume the backend script is working properly as I am sure it is.</p>
  
  <p>I have just tried <code>e.target.submit()</code> and now get an error message: 
  <code>Uncaught (in promise) TypeError: e.target.submit is not a function</code>  </p>
  
  <p>If thats helps anyone </p>