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

188
Vistas
How do I fire a callback function for each and every item in a drop menu?

I have a drop down menu <UL>, with many menu items <LI>, some of which items are parents("daddy") of a sub-menu.

I have a callback function that looks like this:

mouseenterCallback: function(evt) {
    var $thisLI = evt.target;

    if ($thisLI.hasClass("daddy")) {
        alert("daddy");
    }
}

In this test, the alert only shows when the mouse enters the main menu title ... but not for each and every <LI>

How can I make the former and the latter happen?

/signed/ bewildered

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