- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to use Bootstrap Button Plugins
Add in some interaction such as control button states or create groups of buttons for more components like toolbars with the plugin.
You can try to run the following code to implement button plugin −
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/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>
- Related Articles
- How to use Bootstrap Popover Plugins
- How to use Bootstrap Alert Plugins
- How to use Bootstrap Dropdown Plugins
- How to use Bootstrap Collapse Plugins
- How to use Bootstrap Tab Plugins
- How to use Bootstrap Tooltip Plugins
- How to use Bootstrap Scrollspy Plugins
- How to use Bootstrap Carousel Plugins
- How to use Bootstrap Affix Plugins
- How to include Bootstrap Plugins on a website
- What is Bootstrap Plugins
- What are Bootstrap Transition Plugins
- Usage of Bootstrap Modal Plugins
- Use dropdowns with any button size using Bootstrap
- Bootstrap Collapsible button

Advertisements