I have a global variable...
I know i could populate myArray...Code:var myArray; var aString="1,2,3";
But myArray should be an array of arrays. If i try this...Code:myArray=aString.split(",");
My javascript won't run. If i attempt to fix it by declaringCode:myArray[0]=aString.split(",");globally, it still won't run.Code:myArray=[];
What is the correct syntax for this?




Reply With Quote