开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜