Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bootstrap alert auto close

$(document).ready(function() {
  $("#success-alert").hide();
  $("#myWish").click(function showAlert() {
    $("#success-alert").fadeTo(2000, 500).slideUp(500, function() {
      $("#success-alert").slideUp(500);
    });
  });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bootstrap #alert #auto #close
ADD COMMENT
Topic
Name
5+2 =