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

169
Vistas
how to check that the radio button

I have to find that the radio button is checked or not if its clicked and checked then count will increase of its . And if count will increase then it will increase only one time. it will not increase on multiple click on same radio button in sveltekit.

enter image description here

Kindly suggest the count increment method on radio button

it will increase count when click and not increment count when multiple click on same radio button

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

0

I think the knowledge you are missing is likely how to determine if the radio is checked? If so, the top answer to this provides a good explanation: How can I check whether a radio button is selected with JavaScript?

Something like:

var counter = 0;
if(document.getElementById('id').checked) {
  counter++;
}else{
  counter--;
}
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