zzfive03
Programmer
- Jun 11, 2001
- 267
I have an ASP array, I need to pass it to a browser event handler. How Do I pass the array to a VBScript function, and in the VBScript fucniton, how to i loop thru it?
Here is what I have:
ASP Code:
(inside a <select>)
onChange='DisplayPullDown(" & iArray & "
'>"
VBScript code:
Sub DisplayPullDown(X)
document.write X(0)
document.write X(1)
document.write X(2)
End Sub
any help would be great.
MH
Here is what I have:
ASP Code:
(inside a <select>)
onChange='DisplayPullDown(" & iArray & "
VBScript code:
Sub DisplayPullDown(X)
document.write X(0)
document.write X(1)
document.write X(2)
End Sub
any help would be great.
MH