nickpellant
nickpellant

Reputation: 1046

Converting multiple select to appear as a regular select

I'm currently 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!

Upvotes: 0

Views: 561

Answers (1)

Shef
Shef

Reputation: 45589

<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.

Upvotes: 2

Related Questions