Commit 1d67e62a authored by David Stutz's avatar David Stutz

#154

parent d4dbc81f
...@@ -188,6 +188,10 @@ ...@@ -188,6 +188,10 @@
includeSelectAllOption: true, includeSelectAllOption: true,
enableCaseInsensitiveFiltering: true enableCaseInsensitiveFiltering: true
}); });
$('#example41').multiselect({
includeSelectAllOption: true
});
}); });
</script> </script>
<p> <p>
...@@ -247,6 +251,21 @@ ...@@ -247,6 +251,21 @@
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.
</td> </td>
</tr> </tr>
<tr>
<td>
<select id="example41" multiple="multiple">
<option value="cheese" selected>Cheese</option>
<option value="tomatoes" selected>Tomatoes</option>
<option value="mozarella" selected>Mozzarella</option>
<option value="mushrooms" selected>Mushrooms</option>
<option value="pepperoni" selected>Pepperoni</option>
<option value="onions" selected>Onions</option>
</select>
</td>
<td>
The 'Select all' option automatically repsonds to the selection of the user. In particular, it responds to the initial state of the select.
</td>
</tr>
<tr> <tr>
<td> <td>
<select id="example3" multiple="multiple"> <select id="example3" multiple="multiple">
......
This diff is collapsed.
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