Bootstrap Alert Auto Close

$("#success-alert").fadeTo(1000, 500).slideUp(500, function(){ $("#success-alert").alert('close'); }); /* <div class="alert alert-success" id="success-alert"> <button type="button" class="close" data-dismiss="alert">x</button> <strong>Success! </strong> message. </div> */

1 Response

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.