I want to create listbox in webpage . the listbox whould have a vertical scrollbar; but only one item should be alowed to select;
i can get this kind of listbox with applepineapplemango this gives me exactlyy a listbox with vertical scrollbar, when no of items in list box are too many. but it allows to select multiple items. i want only one item to get selected
Thanks for any help or suggestions in advance
Here you go:
<select size="5">
<option value="1">Item #1</option>
<option value="2">Item #2</option>
<option value="3">Item #3</option>
<option value="4">Item #4</option>
<option value="5">Item #5</option>
<option value="6">Item #6</option>
<option value="7">Item #7</option>
</select>
Live example of this: http://jsfiddle.net/B4RNr/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With