I'm trying to pass an array to a Sub from the onclick event of a button -- I'm getting a type mismatch error.
Here is the code for the buttion
<input type=button language=vbscript value=create onclick="myproc <%=aMyArray%>" id=button1>
Here is the Sub I am passing the array to:
For i = lbound(aPassed) to ubound(aPassed)
strFeedback = strFeedback & aPassed(i)
aMyArray is a valid array -- I write it to screen before calling the function to verify that it is formatted correctly
I've tried several different ways of calling the sub, but to no avail. I've tested calling the sub with different params and it works fine. But when I try to pass an array it bonks with the mismatch error.
Any help would be appreciated