Commit 6b6afe6f authored by David Stutz's avatar David Stutz

#416: Additional example.

parent 21225a84
......@@ -1122,6 +1122,41 @@
});
});
</script>
</pre>
</div>
<p>
This option may be useful in combination with the <code>includeSelectAllOption</code>:
</p>
<div class="example">
<script type="text/javascript">
$(document).ready(function() {
$('#example-allSelectedText-includeSelectAllOption').multiselect({
includeSelectAllOption: true,
allSelectedText: 'No option left ...'
});
});
</script>
<select id="example-allSelectedText-includeSelectAllOption" multiple="multiple">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
<option value="5">Option 5</option>
<option value="6">Option 6</option>
</select>
</div>
<div class="highlight">
<pre class="prettyprint linenums">
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
$('#example-allSelectedText-includeSelectAllOption').multiselect({
includeSelectAllOption: true,
allSelectedText: 'No option left ...'
});
});
&lt;/script&gt;
</pre>
</div>
</td>
......
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