hello all,
I'm interested in doing a "combination" drop down list so that the 2nd drop down will automatically pull out only datas accordingly to the selection of the 1st box. This part, I found help.
The problem that I need help here is getting asp getRows array (3 fields) and insert into js Array.
I tried
And right there, I've already get error, nevermind whatever next steps to insert the jsArray into the drop downs as I stated earlier
An unhandled data type was encountered.
I searched around but doesn't seem to find the perfect solution for the particular multidimensional conversion.
I'm interested in doing a "combination" drop down list so that the 2nd drop down will automatically pull out only datas accordingly to the selection of the 1st box. This part, I found help.
The problem that I need help here is getting asp getRows array (3 fields) and insert into js Array.
I tried
Code:
<%
'dbconnection blah blah
aspArray = rs.getRows
%>
<script language=javascript>
var jsArray = new Array('<%=aspArray%>');
</script>
And right there, I've already get error, nevermind whatever next steps to insert the jsArray into the drop downs as I stated earlier
An unhandled data type was encountered.
I searched around but doesn't seem to find the perfect solution for the particular multidimensional conversion.