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

102
Vistas
this.checked cannot be modified with checkbox click

It seems that the checked property of a checkbox cannot be modified, when the event is from the checkbox itself. Here is small example:

<input type="checkbox" onclick="this.checked=true; return false">

The checkbox is not checked after click. Why is this.checked=true ignored?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It's happening because you're returning false. This value is assigned as the input value. Try this way:

<input type="checkbox" onclick="this.checked=true">

about 4 years ago · Juan Pablo Isaza 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