ItHurtsWhenIThink
Technical User
I'm just playing around with new html tags.
Here is my first experiment, dynamic list box.
Here is my code:
<input list="frmUsers">
<datalist id="frmUsers">
<%
sql="select FName+ ' ' +LName AS FullName, UID from members"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql, conn, 1, 3
If NOT rs.EOF Then
While NOT rs.EOF
%>
<option value="<%=rs("UID")%>"><%=rs("FullName")%></option>
<%
rs.MoveNext
WEND
End If
%>
</datalist>
Naturally, that wont work. That's what I use right now in my pages (except encrypted).
How can it off using datalist?
Thanks.