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

147
Vistas
anchor tag keyboard Event not firing, works only on onClick

i have an anchor tag and there are keyevents which i need to add

the code is doing its work and here is the jsfiddle for it if i use span tag

<span v-show="show" @click.prevent="backTo" @keyup.enter="backTo" @keyup.space="backTo">

here is the working fiddle with span

https://jsfiddle.net/dg5ra0fL/

i changed it to anchor tag but now i am unable to fire a keyevent.

Reference Question:onkeyup, onkeydown events not firing for SPAN element
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