I load an array using server side script off the db when the page opens.
do while not rs.eof
DealerArray(x)=rs("Dealername")
x=x+1
rs.movenext
loop
When I try to access the array therough a client side click event, I get an array error as if it was not initialized to begin with.
<SCRIPT LANGUAGE="VBScript">
Function GetDealer(mLetter)
msgbox DealerArray(1)
end Function
</script>
do while not rs.eof
DealerArray(x)=rs("Dealername")
x=x+1
rs.movenext
loop
When I try to access the array therough a client side click event, I get an array error as if it was not initialized to begin with.
<SCRIPT LANGUAGE="VBScript">
Function GetDealer(mLetter)
msgbox DealerArray(1)
end Function
</script>