I know this might be a simple question, but I am beating my head against a wall.
I have a dropdown box that when changed I need to pass an array to a VBscript subroutine. Everytime I try I get an error. Any suggestions?
I have a dropdown box that when changed I need to pass an array to a VBscript subroutine. Everytime I try I get an error. Any suggestions?
Code:
<%
do while not rsAC.eof
Redim Preserve RS_Array(6, i + 1)
RS_Array(1,i + 1) = rsAC("Child_ID")
RS_Array(2,i + 1) = rsAC("Answer_ID")
RS_Array(3,i + 1) = rsAC("Question_ID")
RS_Array(4,i + 1) = rsAC("Child_Text")
RS_Array(5,i + 1) = rsAC("Display_Order")
RS_Array(6,i + 1) = rsAC("Active")
i = i + 1
rsAC.movenext
loop
%>
<SELECT name="<%=rsGQ.Fields("FORM_FIELD_NAME")%>" onChange="call NewDropdown('<%=RS_Array%>','<%=rsGQ.Fields("FORM_FIELD_NAME")%>')"><%