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

176
Vistas
onChange event listener being called everytime window.onload function instantiated

I am trying to validate null input for dropdown selection, but the onchange event is triggered without any change of selection on dropdown list, when the window.onLoad() is instantiated.

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

0

It would be better if you can provide your snipped code for your problem. You can try to add the

target.addEventListener(type, listener);
target.addEventListener(type, listener, options);
target.addEventListener(type, listener, useCapture);

On the other hand, you might want to try:

event.preventDefault();

Also, you can learn more here: EventTarget.addEventListener() or Event.preventDefault()

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