Home  /  Features  /  Alerts

Example alerts

Add dismiss functionality to all alert messages with this plugin.

STOP! It's easy to add an alert box!

Oh snap! You got an error!

Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.

Take this action Or do this


Enable dismissal of an alert via JavaScript:

  1. $(".alert").alert()


Just add data-dismiss="alert" to your close button to automatically give an alert close functionality.

  1. <a class="close" data-dismiss="alert" href="#">&times;</a>