Answer the question
In order to leave comments, you need to log in
How to refresh data after clicking on google captcha?
Hello masters.
Please tell me, how can I make sure that when I click on the Google captcha, and successfully complete it, without reloading the page, the data is updated?
Do they have some kind of event that "knocks" when a captcha is successfully completed?
I will be very grateful for the answers
Answer the question
In order to leave comments, you need to log in
https://stackoverflow.com/questions/31687803/recap...
var myCallback = function(val) { console.log(val); };
grecaptcha.render(
document.getElementsById('my-recaptcha-placeholder'),
{
callback: myCallback,
sitekey: mySiteKey
});
<script type="text/javascript">
var imNotARobot = function() {
console.info("Button was clicked");
};
</script>
<div class="g-recaptcha" data-callback="imNotARobot" data-sitekey="key"></div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question