A admin Administrator Staff member Aug 22, 2008 #1 Why can't I assign: myArray[1][0] = "de beer";? Error says: "1" is null or not an object... function showArr() { var myArray = Array(Array()); myArray[0][0] = "michelle"; myArray[1][0] = "de beer"; alert(myArray[1][0]); }
Why can't I assign: myArray[1][0] = "de beer";? Error says: "1" is null or not an object... function showArr() { var myArray = Array(Array()); myArray[0][0] = "michelle"; myArray[1][0] = "de beer"; alert(myArray[1][0]); }