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

127
Vistas
hover Funciona en demostración pero no en la práctica

http://jsfiddle.net/384k9hng/1/

¡Así que tengo esta demostración que funciona muy bien! Pero lo puse en mi web y no funciona!!!!

 $('#test').hover(function() { if ($('#hello:hover').length > 0) { document.getElementById('hello').textContent = "A god like being, power swirls and mystifies beholder. Thousands of creations wander around the blank room. The room that seems to never end, that cannot be perceived by those other than the creator. The box confining those within, puppeteered by the being. The hands block those within from escaping, the hands of the creator"; } else { document.getElementById('hello').textContent = "It pulls on it's chains"; } });
 <!DOCTYPE html> <html> <head> </head> <style> div{ background: orange; } </style> <body> <div id= "chainbox" > <h2> <I id = "chain" > "It pulls on it's chains" </I> </h2> </div>

Esto es lo que puse en mi sitio web y no funcionará. ¿Cómo lo arreglo?

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

0

Debe tener jQuery vinculado en el proyecto antes de ejecutar un script jQuery en su proyecto. Ese error significa que no está leyendo el símbolo $ . Coloque esta etiqueta de secuencia de comandos sobre su secuencia de comandos jQuery.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

about 4 years ago · Santiago Trujillo 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