I have a signup form with AJAX so that I want to refresh Recaptcha image anytime an error is occured (i.e. username already in use).
I am looking for a code compatib
If you are using Version 1.0 of the reCAPTCHA API, please upgrade to Version 2.0 (Version 1.0 is no longer supported)
Use grecaptcha.reset(); to reset the captcha.
grecaptcha.reset();