I dont have a problem filling the array on the server side, just getting the array to be recognized on the client side.
Your solution will not work because the function is not in a client side script.
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...
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.