bootstrap success alert using jquery code example
Example 1: bootstrap Alerts Additional content Dismissing
Holy guacamole! You should check in on some of those fields below.
Enable dismissal of an alert via JavaScript:
$('.alert').alert()
$().alert('close')
$().alert()
$().alert('dispose')
Events
close.bs.alert
closed.bs.alert
Example 2: bootstrap Alerts Additional content
Alerts can also contain additional HTML elements like headings, paragraphs
and dividers.
Well done!
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.