%doc>
<& select.html,
# required
field => 'myfield', # NAME property
curr_value => 'foo',
labels => { # or 'option_labels'
# note: these will be escaped for you, don't escape them
'AL' => 'Alabama',
'AK' => 'Alaska',
'AR' => 'Arkansas',
},
options => [ 'AL', 'AK', 'AR' ],
curr_value => scalar( $cgi->param('myfield') ),
# recommended
id => 'myid', # DOM id
# optional
size => 1, # to show multiple rows at once
style => '', # STYLE property
multiple => 0,
disabled => 0,
onchange => 'do_something()',
js_only => 0, # disables the whole thing
element_etc => '', # anything else to put in the