When user select a value from Select Menu, I want that value to be selected.
Posted on 2007-11-28
What I wanted to do was when user select a value from Select form, I want the value to be selected when it refreshes. All the function is working perfected but for some reason select menu doesn't select the value that user selected.
Please help me!
If request("MemberTypeID") = "" then
<option value="">All User Group</option>
Do until rs1.EOF
<option value="<%=rs1("MemberTypeID")%>" <%if request("MemberTypeID")=rs1("MemberTypeID") then%>selected="selected"<%end if%>><%=rs1("MemberTypeName")%></option>