Commit 35ec0afc authored by David Stutz's avatar David Stutz

Updated example.

parent 84b63dc1
...@@ -185,6 +185,16 @@ ...@@ -185,6 +185,16 @@
maxHeight: 150 maxHeight: 150
}); });
$('#example28-values').on('click', function() {
var values = [];
$('option:selected', $('#example28')).each(function() {
values.push($(this).val());
});
alert(values);
})
$('#example32').multiselect(); $('#example32').multiselect();
$('#example39').multiselect({ $('#example39').multiselect({
...@@ -270,7 +280,10 @@ ...@@ -270,7 +280,10 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<div class="btn-group">
<select id="example28" multiple="multiple"></select> <select id="example28" multiple="multiple"></select>
<button id="example28-values" class="btn btn-primary">Get Selected</button>
</div>
</td> </td>
<td> <td>
Multiselect with a 'Select all' option and filtering enabled using the <code>enableFiltering</code> option. Multiselect with a 'Select all' option and filtering enabled using the <code>enableFiltering</code> option.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment