nAzGiRl2005
09-09-2005, 12:31 AM
I have a JSP page that contains a textarea and a <html:select> tag that contains a few options to select from. Here's what I wish to do: When I start typing on the textarea, I want the html:select tag options - that match what I'm entering - to be highlighted. Here's a piece of the code:
<html:text property="metrics" style="query-table-item" size="50"/>
<html:select property="metrics" multiple="true" size="5" style="width:450" onfocus="Select_Radio(document.searchReportForm.metricsSelect[0]);">
<html:options collection="metricsList" property="id" labelProperty="name"/>
</html:select>
Any ideas?
<html:text property="metrics" style="query-table-item" size="50"/>
<html:select property="metrics" multiple="true" size="5" style="width:450" onfocus="Select_Radio(document.searchReportForm.metricsSelect[0]);">
<html:options collection="metricsList" property="id" labelProperty="name"/>
</html:select>
Any ideas?