Drop Down Menu
i was trying to populate a drop down menu from a particular cell in Access
2000 using ASP. where the info in the cell is separated by comma's
cell ex: S,M,L,XL
This is the html returned
<select name="S,M,L,XL">
<option>S,M,LXL</option></select>
But I want this format <select name="Sizes">
<option>S</option>
<option>M</option>
<option>L</option>
<option>XL</option>
</select>
# 1 Re: Drop Down Menu
<%sizes=S,M,L,XL
MyArray=split(sizes,",")%>
<select name="sizes">
<%for i=0 to ubound(MyArray)
<option>MyArray(i)</option>
%>
</select>
"joe Henderson" <joseph_henderson@yahoo.com> wrote:
>
> i was trying to populate a drop down menu from a particular cell in Access
>2000 using ASP. where the info in the cell is separated by comma's
>cell ex: S,M,L,XL
>
>This is the html returned
><select name="S,M,L,XL">
><option>S,M,LXL</option></select>
>
>But I want this format <select name="Sizes">
> <option>S</option>
> <option>M</option>
> <option>L</option>
> <option>XL</option>
> </select>
kiran at 2007-11-11 23:41:38 >
