Converting multiple select to appear as a regular select
I'm curre开发者_如何学JAVAntly slicing up a new site design and I want to make a multiple select look and feel the same way that a regular select does, but have the user control+click to choose multiple options.
Does anyone have any advice on how to achieve this goal? I am using the uniform js plugin with jQuery for the rest of my input styles.
Many thanks!
<select multiple="multiple" size="1">
...
</select>
This won't behave as a non-multiple select element.
Since you are using jQuery already, I would suggest jQuery UI MultiSelect Widget.
精彩评论