title: Dynamically create Bootstrap alerts box through JavaScript
body: <p>I'm using Bootstrap 2.0 for my project and I would like to dynamically add Bootstrap alert box in my page (<a href="http://twitter.github.com/bootstrap/javascript.html#alerts" rel="noreferrer">http://twitter.github.com/bootstrap/javascript.html#alerts</a>). I want to do something like:</p>
  
  <pre><code>bootstrap-alert.warning("Invalid Credentials"); 
  </code></pre>