I was wondering if there was a way to set the focus on an item selected by the user on dynamic drop down list or combo box? The <option> tag is dynamically picking up the value and text/label from an access database.
Here is my code:
<form method="POST" action="faq.asp" name="faq">
<select name="chooser" id="chooser" onChange="selecteditem()">
SQL = "Select Chooser FROM faq ORDER BY ID ASC"
SET RS = Conn.Execute(SQL)
While NOT RS.EOF
<option selected value="<%=RS("Chooser")%>"><%=RS("Chooser")%></option>
Set RS = NOTHING
<input type="submit" value="Submit" name="Submit">