基于jQuery UI的多项选择下拉列表框组件 jQuery UI MultiSelect Widget

Basic Demos

Both multiselects are created with the following one-liner. Optgroup support is built in out of the box:

$(function(){
   $("select").multiselect(); 
});
		

Basic

With Optgroups

Click on an optgroup's heading to toggle the checked state of the entire group.