- Silver
- Green
- Blue
- Gold
- White
- Purple
- item one
- item two
- item three
- item four
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Style:
var colorchoice = this.getValue();
canvas[colorchoice].setAttribute("isdefault", true);
The text that appears in the combobox may be different from the
value represented by the list item. In the examples below the value is
displayed using a constraint tied to the value attribute of the combobox
non-editable datacombobox
You can present a long list of
items but specify fewer "shownitems" and the list will be displayed
with a scrollbar. The combobox to the right has shownitems="7"