bootstrap success alert using jquery code example

Example 1: bootstrap Alerts Additional content Dismissing



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.

Tags:

Misc Example