Answer the question
In order to leave comments, you need to log in
Why doesn't callback work in reCaptcha 2?
There is such a script
<html>
<head></head>
<body>
<form>
<div class="g-recaptcha" data-callback="calback()" style=" text-align: center;" data-sitekey="6Lc49w*************************"></div>
<button type="submit" disabled class="md-btn md-btn-primary md-btn-large log_in">Войти</button></form>
<script src="/i/js/jquery_min.js"></script>
<script>
function calback() {
$('.log_in').prop( "disabled", false );
}
</script>
<script src='https://www.google.com/recaptcha/api.js'></script>
</body></html>
callback()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question