JQuery click event on Google reCAPTCHA

I would like to capture a click event in Google reCAPTCHA as shown below.

Google reCAPTCHA robot checkbox image

I am using the code below.

jQuery('#I0_1444640729099').on('load', function() {
    jQuery(".recaptcha-checkbox-checkmark").click(function() {
        alert("test");
    });
});

But I can’t do it. Can anyone help me in this regard ?? I would also like to catch a successful captcha feed event.

+7
source share

Source: https://habr.com/ru/post/1611259/


All Articles