# bootstrap-selectsplitter
## Presentation
Transforms SELECT containing one or more OPTGROUP in two chained SELECT.
This:
![image1](http://img4.hostingpics.net/pics/927121bootstrapselectsplitterimage1.png)
Becomes this:
![image2](http://img4.hostingpics.net/pics/997752bootstrapselectsplitterimage2.png)
## Demo
See the [online demo](http://jsfiddle.net/ae7fxdyy/).
## How to use
Create a SELECT tag containing one or more OPTGROUP:
```HTML
```
Add the dependency files (jQuery and Bootstrap 3 CSS):
```HTML
```
Call the plugin:
```JavaScript
$('select[data-selectsplitter-selector]').selectsplitter();
```
## Bower
bower install bootstrap-selectsplitter
##CDN
```HTML
```
## Copyright and license
Copyright (C) 2015 Xavier Faucon
Licensed under the MIT license.