Now that this is my code:
note: a,b,c are the Array's datas
as you can see, the For loop is located within the <select>, hence, I cannot set the c values dynamically.
Thanks!
note: a,b,c are the Array's datas
Code:
<script>
function getid2(n) {
alert(n);
return false;
}
</script>
<%...
aspArray = rs.getRows
%>
<select onchange='getid2('<%=aspArray(2,i)%>')>
<%for i=0 to ubound(aspArray(2))%>
<option value='<%=aspArray(0,i)%>'><%=aspArray(1,i)%></option>
<%next%>
</select>
Thanks!