Bob Schneider
asked on
Use ASP Array in Javascript
How can I populate an array of this nature with a dynamic asp/vbscsript array? Since I don't know how many array elements we will have I will need to use a for-next loop.
imagearray: [
["/images/crutchfield/inte rior1.jpg" ],
["/images/crutchfield/inte rior2.jpg" ],
["/images/crutchfield/inte rior3.jpg" ],
["/images/main_flash/main_ flash1.jpg "],
["/images/main_flash/main_ flash2.jpg "],
["/images/main_flash/main_ flash3.jpg "],
["/images/main_flash/main_ flash4.jpg "],
["/images/main_flash/main_ flash5.jpg "],
["/images/main_flash/main_ flash6.jpg "]
],
Thank you very much.
imagearray: [
["/images/crutchfield/inte
["/images/crutchfield/inte
["/images/crutchfield/inte
["/images/main_flash/main_
["/images/main_flash/main_
["/images/main_flash/main_
["/images/main_flash/main_
["/images/main_flash/main_
["/images/main_flash/main_
],
Thank you very much.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
var imagearray = new Array(
<%For i = 0 To UBound(PixArray, 2) - 1%>
...what goes here....
<%Next%>
)