答案 0 :(得分:0)
您可以使用bootstrap multiselect
,它很容易实现,如:
HTML:
<select class="multiselect" multiple="multiple">
<option value="cheese"> Cheese </option>
<option value="tomatoes"> Tomatoes </option>
<option value="mozarella"> Mozzarella </option>
<option value="mushrooms"> Mushrooms </option>
<option value="pepperoni"> Pepperoni </option>
<option value="onions"> Onions </option>
</select>
Jquery的:
$(function() {
$('.multiselect').multiselect();
});