I have a search application in html with javascript.In that i used select & option(select box).I want to retrieve the values from access database to selectbox.How can i do this with array?i also want to get the count of the option.The below not working correctly.How can i do this.any one knows please help me.Thank you.
var myselect=(selinstal.value);
for(var i=0;i<(select2.option.length);i++)
{
myarray[i]=myselect;
rs(myarray);
//document.write(rs(0));
}
<select id="Select2" style="width: 152px" name="selinstal">
<option selected="selected"></option>
</select>