Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

352
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!