Bootstrap Button Plugins Examples




Bootstrap Button Plugins

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href="css/bootstrap.min.css">
      <script src="scripts/jquery.min.js"></script>
      <script src="js/bootstrap.min.js"></script>
   </head>
   <body>
      <h4>Button Example</h4>
      <div id="myButtons2" class="bs-example">
         <button type="button" class="btn btn-primary" data-loading-text="Loading...">
            Primary
         </button>
      </div>
      <script type="text/javascript">
         $(function () {
            $("#myButtons1 .btn").click(function(){
               $(this).button('toggle');
            });
         });
      </script>
   </body>
</html>

Output