Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

285
Vistas
Recaptcha onclick event

I want to fire a jQuery event onclick when the user selects the recaptcha checkbox.

This is the code I have:

<div id="reCaptcha" data-sitekey="XXXXX"></div>

Is this possible to do? I've tried the usual jQuery onclick event (see below) for that element but to no avail.

$j('#reCaptcha').on('click', function(event) { 
    alert("YES PLEASE!");
});
over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

HTML:

<div id="reCaptcha" data-sitekey="XXXXX"></div>

Then:

$j('#reCaptcha').on('click', function(event) { 
    alert("Your code works!");
});
over 4 years ago · Santiago Trujillo Denunciar

0

reCaptcha have callback function which you can provide by using data as eg

<div id="reCaptcha" data-callback="thecallback"
 data-sitekey="XXXXX"></div>

then you can write you call back after click

function thecallback(){
alert("Clicked")
}

that is what is legally possible hp[e it will help you

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda