For example, to allow an
alert element to be
dismissible, you'll add the
data-dismiss="alert" attribute to either a
anchor element, as illustrated in the following code:
<div class="alert alert-danger"> <button data-dismiss="alert" class="close" type="button">×</button> <strong>Warning</strong> Shuttle launch in t-minus 10 seconds. </div>
alert element when the user clicks on a button:
<button class="close" type="button" onclick="$(...