Google reCAPTCHA data-callback not working : <p>I have built a email newsletter signup form which posts into mailchimp from my website. I have Google reCAPTCHA added to the form and have a data-callback to enable the submit button as it is initially disabled. This was working fine in all browsers last night and did tests with success &amp; signed off on it..and went home. I got in this morning and found the subscribe button will not enable / data-callback does not work? Strange..</p>

<p>Callback</p>

<pre><code>&lt;div class="g-recaptcha" data-callback="recaptcha_callback" data-sitekey="xxxxx"&gt;&lt;/div&gt;  
</code></pre>

<p>Input button at bottom of form</p>

<pre><code>&lt;input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button" disabled&gt;
</code></pre>

<p>Scripts</p>

<pre><code>&lt;script src='https://www.google.com/recaptcha/api.js'&gt;&lt;/script&gt;
&lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"&gt;&lt;/script&gt;    
&lt;script type="text/javascript"&gt;
    $(document).ready(function() {
      function recaptcha_callback(){
        alert("callback working");
        $('.button').prop("disabled", false);
      }
    )};
&lt;/script&gt;
</code></pre>
