Log in

View Full Version : combo box



janakrai
01-07-2009, 06:38 AM
i have a one combo box(select box) but it is not a multiple combo box
user select combo box then user able to select multiple record in that combo box
it is possible?

Medyman
01-07-2009, 03:21 PM
i have a one combo box(select box) but it is not a multiple combo box
user select combo box then user able to select multiple record in that combo box
it is possible?

Yes, it's possible. The HTML select element has a parameter called "multiple" that allows multiple selection.


<select multiple="multiple">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="audi">Audi</option>
<option value="mercedes">Mercedes</option>
</select>

More information: http://www.w3schools.com/TAGS/att_select_multiple.asp

janakrai
01-08-2009, 01:21 PM
Thanx for reply

Actualy
it is not a multiple combo box

not a multiple="multiple"

Medyman
01-08-2009, 03:27 PM
Thanx for reply

Actualy
it is not a multiple combo box

not a multiple="multiple"

Huh? Then, what are you looking for? If you want someone to be able to select multiple options within a <select> element, you'll have to add multiple="multiple". Do you not have control over the source code?