I'm looking a JavaScript code to reload google recaptcha after submit button without refreshing page.
Actually this following code is working, but once I click on submit button, it won't allow my form to submit, the recaptcha will be reset. I'm looking for a solution that after submit button, then recaptcha will be unchecked without effecting to my form. Because my form response is in the same page, that's why I want to reset recaptcha after form submitted.
$('form').submit(function(e){
grecaptcha.reset();
});
I highly appreciate if you will help me on this.