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

354
Vistas
What event would capture Bootstrap alert .hide()

I can't figure out what event I could use to know when alert gets hidden by $('#alert').hide(); The only way to capture that is if I use .close(). But I really need to use .hide() and I need to know when that happens.

If using $(".alert").close() - $(".alert").on('closed.bs.alert') works fine but I need to use $(".alert").hide('fast'); And BS doesn't expose event for that - what VJS event would do the job?

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

0

OK I found a solution :)

    $(".alert").on("close.bs.alert", function () {
        // DO EVERYTHING YOU NEED
        $("#"+this.id).hide('fast');
        return false;
    });
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