progressive-btns /

Filename Size Date modified Message
10 B
932 B
2.7 KB
2.1 KB


Include scripts and styles:

<link href="bootstrap.min.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="bootstrap.min.js"></script>
<script type="text/javascript" src=""></script>

Write some form markup:

<form method="get">
        Pre-selected options should be selected when the
        buttons are initialized (ie, they should have an
        active class applied).
    <select name="fancy-buttons" class="prog-btns">
        <option value="A">A</option>
        <option value="B" selected="selected">B</option>
        <option value="C">C</option>
    <input type="submit"/>

Then activate the plugin: