View Single Post
  #2  
Old 08-10-2006, 03:11 PM
parrod parrod is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
parrod is on a distinguished road
Default

Is this what you want!!

Code:

<%
for i = 0 to n
if i = selectedValue then
%>
<option value="<%=i%>" selected><%=selectionArray(i)%></option>
<%
else
%>
<option value="<%=i%>"><%=selectionArray(i)%></option>
<%
end if
next
%>

Hope I was of some help -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - retrieve multiple values
View Single Post
  #2  
Old 08-10-2006, 03:11 PM
parrod parrod is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
parrod is on a distinguished road
Default

Is this what you want!!

Code:

<%
for i = 0 to n
if i = selectedValue then
%>
<option value="<%=i%>" selected><%=selectionArray(i)%></option>
<%
else
%>
<option value="<%=i%>"><%=selectionArray(i)%></option>
<%
end if
next
%>

Hope I was of some help -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote