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

177
Vistas
Triggering a function on pressing enter in a char field odoo 14

Is it possible to trigger a function when the Enter key is pressed in the character field.?

The onchange function is not working as inside the function it returns another form. so is there any Javascript code for that?

about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

You use addEventListener 'keypress' then check if the keycode is the Enter key

document.getElementById('inputField').addEventListener('keypress', function(event) {
        if (event.keyCode == 13) {
            //Run a function here
        }
    });
about 4 years ago · Santiago Gelvez 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