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

442
Vistas
how to solve it so that when you click the button the box will hover like loading?

Previously, I have added hover and transition styles to the box. Well, then I thought of trying to add a button which when clicked would be the same as on hover without hovering the pointer over the box.

enter image description here

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

0

Since there are no examples of your code, I will just give basic example.

You will need to create a function, something like this

 var element = document.getElementById("IdOfYourElement").style.color;
 function changeColor(){
  element = "blue"; // example 
 } 

And then, just call the function on your button, by adding

 onClick = "changeColor()" 
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