BootAlert is a simple function that can generate alert windows based on Twitter Bootstrap css framework
This jQuery function require the following files included in your project
Place the js file inside your
<head> tag of html
To show an alertbox simply use
$.bootalert("Success", "Your message has been sent!");
BootAlert optionally accept third parameter for the button class value. This class name is same as the Bootstrap Button Classes
The available button classes are
To call the alertbox with custom button, simple add the button class name to the parameter list
$.bootalert("Success", "Your message has been sent!", "btn-danger");
Click here to see the demo
Got something to add to this script?
Fork the git repository and clone it. Then make a new branch and make your modifications. Once completed, commit to your repository and make a pull request.
Issues or Suggestions?
Post on the Issues page