Back to Basics
am 18.06.2007 11:25:40 von John PeachHow to i pass an asp array to a client side vbscript array ?
Thanks
John
How to i pass an asp array to a client side vbscript array ?
Thanks
John
John Peach wrote on 18 jun 2007 in microsoft.public.inetserver.asp.general:
> How to i pass an asp array to a client side vbscript array ?
Assuming serverside vbs and an array of strings:
or
or
As a string by using join() and split()
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
On Mon, 18 Jun 2007 04:25:40 -0500, John Peach
wrote:
> How to i pass an asp array to a client side vbscript array ?
If you're careful, one way would be to take a page from JSON and return =
=
the data as VBScript source:
<% Option Explicit
Randomize
Dim a: a =3D Array(Fix(Rnd * 100), Fix(Rnd * 100), Fix(Rnd * 100)=
)
%>
"http://www.w3.org/TR/html4/strict.dtd">
-- =
Justin Piper
Bizco Technologies
http://www.bizco.com/