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

174
Vistas
How to fire autofill event in Javascript

I am working on a project where I have to take input from the user, do some calculations, and suggest an output to the user, and when I have something to suggest, I turn the input background to yellow, to declare to the user that it's a suggestion.

enter image description here

The problem I have is that I noticed that browsers treat input suggestions differently. For example, the background color of the input may change from a browser to another (Chrome uses a blue background color, and Safari uses a yellow one). What I'm trying to do is to fire an event on JS (or any other solution) to let the browser decide which style to give to the input. Is there a way to do that ? or is the browser not allowing that to happen programmatically ?

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

0

You need to make the auto filling logic by yourself. The browser's autofilling API is not supporting such kind of customization.

You can check this simple example to make the autocomplete. That's different what you think, but in this way, you would need to make custom logic when filling it.

I would like to collaborate via sandbox if you give me more detail.

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