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

278
Vistas
Focus on select element also opens it: can that be prevented?

Simple, two input interface using a table: each row shows a US state and then a sales tax value. The last row in the table has a dropdown for the state, and a textbox.

When the user commits their entry, I add a row to the table, plug in the values, then I blank both of the controls for the next entry. (An ajax call writes the values to the database, but that's not relevant here.)

The dropdown is first, so after the commit I'd like to put the focus on it, but when I do the dropdown opens. I need that to not happen.

Can I put focus on the select control without it opening?

enter image description here

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