Fill text boxes from Combo Box?
<p class="label">Choose a Photo</></TD>
<TD valign=top size=20><select name="pic">
<option value=""></option>
<%for x=1 to RSL.recordcount%>
<option value="<%=RSL("Url")%>" <%if Request.QueryString("ID") > 0 then%><%if RS("Pic") = RSL("Url") then%><%Session("selectedpic") = RSL("Url")%> SELECTED <%end if%><%End if%>><%=RSL("Name")%></option>
<%
RSL.MoveNext
next%>
This code plus the sql statment fills the combo box, which works fine. This is the name of the Logo, there are two other fields in the table. I want those other fields to show in text boxes when the logo is click from the drop down box.
__________________
-----------------------------------------------------------
\"Don\'t follow someone who\'s not going anywhere\" John Mason
|