|
Populate a select box from an array
This shows how to populate a select box from an
array
Code
<%
dropdown = "example1,example2,example3,example4"
%>
<Select Name="drop">
<%
list = Split(dropdown, ",")
For i = 0 to UBound(list)
%>
<option value="<%=list(i)%>"><%=list(i)%>
<%Next%>
</Select>
|