You can try this, it uses an array that is filled with nothing at first until you make a selection from first combo box.
Once selection made you are passing a querystring to the same page with table name that is used in SQL string.
Then array is filled with results and reiterated to populate...
ufobaby, do you already know what values you are going to populate in the combo boxes regardless of what users selects from first combo box or are you wanting to send page back up to server passing the value of first combo box to a SQL(WHERE)clause to then fill second combo box?
cbchumley
[yinyang]
Try the following code...You don't need to use JavaScript to populate your combo box. Just loop through recordset.
<%
'----------New Code ------------------------
Dim rs 'For RecordsSet
set rs = Server.CreateObject("ADODB.Recordset")
rs.ActiveConnection =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.