disabled => 0, #bool
# disable_empty => 1, #defaults to 1, disable the empty option
# empty_label => 'all', #label for empty option
disabled => 0, #bool
# disable_empty => 1, #defaults to 1, disable the empty option
# empty_label => 'all', #label for empty option
<% include('/elements/xmlhttp.html',
'url' => $p.'misc/cities.cgi',
'subs' => [ $pre. 'get_cities' ],
<% include('/elements/xmlhttp.html',
'url' => $p.'misc/cities.cgi',
'subs' => [ $pre. 'get_cities' ],
<SELECT NAME = "<%$pre%>city_select"
ID = "<%$pre%>city_select"
onChange = "<%$pre%>city_select_changed(this); <% $opt{'onchange'} %>"
<SELECT NAME = "<%$pre%>city_select"
ID = "<%$pre%>city_select"
onChange = "<%$pre%>city_select_changed(this); <% $opt{'onchange'} %>"
my $text_style = $opt{'style'} ? [ @{ $opt{'style'} } ] : [];
my $select_style = $opt{'style'} ? [ @{ $opt{'style'} } ] : [];
my $text_style = $opt{'style'} ? [ @{ $opt{'style'} } ] : [];
my $select_style = $opt{'style'} ? [ @{ $opt{'style'} } ] : [];
push @$text_style, 'display:none';
} else {
push @$select_style, 'display:none';
push @$text_style, 'display:none';
} else {
push @$select_style, 'display:none';