Re: 3d array in javascript
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: 3d array in javascript

From: Hal Rosser <hmrosser@bellsouth.net>
Date: Tue Apr 18 2006 - 07:16:06 CEST

"hardik" <hardikdangar@gmail.com> wrote in message
news:1145334875.031622.167800@i39g2000cwa.googlegroups.com...
> how i can set 3*3 array in javascript i have tried this but didnt work
>
> <Script>
> var a[2][2][2]=new array()
> <\Script>
>
>
> but it didnt work.
>

var a = new Array();
a[0]= new Array();
a[0][5] = new Array;
a[0][5][72]="<h3>Hello matey</h3>";
document.writeln(a[0][5][72]);
Received on Mon May 1 05:05:26 2006