Created
October 19, 2014 00:08
-
-
Save johanneseckert/e4bdbb46d3559c24a8e9 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/xetake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery.min.js"></script> | |
| <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" type="text/css" /> | |
| <script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> | |
| <script type="text/javascript" src="http://davidstutz.github.io/bootstrap-multiselect/dist/js/bootstrap-multiselect.js"></script> | |
| <link rel="stylesheet" href="http://davidstutz.github.io/bootstrap-multiselect/dist/css/bootstrap-multiselect.css" type="text/css"/> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <select id="sankey-cities" multiple="multiple"> | |
| <optgroup label="Group 1"> | |
| <option value="1-1">Option 1.1</option> | |
| <option value="2-1">Option 2.1</option> | |
| <option value="2-2">Option 2.2</option> | |
| <option value="2-3">Option 2.3</option> | |
| </optgroup> | |
| </select> | |
| <script id="jsbin-javascript"> | |
| $('#sankey-cities').multiselect({ | |
| enableClickableOptGroups: true | |
| }); | |
| </script> | |
| <script id="jsbin-source-html" type="text/html"><!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="//code.jquery.com/jquery.min.js"><\/script> | |
| <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" type="text/css" /> | |
| <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"><\/script> | |
| <script type="text/javascript" src="http://davidstutz.github.io/bootstrap-multiselect/dist/js/bootstrap-multiselect.js"><\/script> | |
| <link rel="stylesheet" href="http://davidstutz.github.io/bootstrap-multiselect/dist/css/bootstrap-multiselect.css" type="text/css"/> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <select id="sankey-cities" multiple="multiple"> | |
| <optgroup label="Group 1"> | |
| <option value="1-1">Option 1.1</option> | |
| <option value="2-1">Option 2.1</option> | |
| <option value="2-2">Option 2.2</option> | |
| <option value="2-3">Option 2.3</option> | |
| </optgroup> | |
| </select> | |
| </body> | |
| </html></script> | |
| <script id="jsbin-source-javascript" type="text/javascript">$('#sankey-cities').multiselect({ | |
| enableClickableOptGroups: true | |
| });</script></body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('#sankey-cities').multiselect({ | |
| enableClickableOptGroups: true | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment