Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
var string = "";
string = "<option value="select" selected>Please select option</option>";
while(retrieving database results){
string .= '<option value="result">text</option>'; // the .= being concatenation operator
}
print string;
<select name="select">
<option value="">** Please select **</option>
<%
While (NOT Recordset1.EOF)
%>
<option value="<%=(Recordset1.Fields.Item("fldID").Value)%>"><%=(Recordset1.Fields.Item("fldTitle").Value)%></option>
<%
Recordset1.MoveNext()
Wend
If (Recordset1.CursorType > 0) Then
Recordset1.MoveFirst
Else
Recordset1.Requery
End If
%>
</select>