Answers for "close alert in bootstrap after time"

3

bootstrap warning message with close button

<div class="alert alert-success alert-dismissible">
  <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
  <strong>Success!</strong> Indicates a successful or positive action.
</div>
Posted by: Guest on March-29-2021
3

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);
    });
  });
});
Posted by: Guest on April-19-2021

Code answers related to "close alert in bootstrap after time"

Code answers related to "Javascript"

Browse Popular Code Answers by Language