How to create 3-dimensional Array in Javascript?
Answers were Sorted based on User's Feedback
Answer / anand prakash
for (i = 0; i < arr.length; i++) {
for (j = 0; j < arr[0].length; j++) {
arr[i][j] = new Array(3);
}
}
| Is This Answer Correct ? | 12 Yes | 9 No |
Difference between window.onload and onDocumentReady?
What is the use of javascript?
Hi Friends, I am new to java, please provide some use full docs, and where can i get basic Java script docs... thanx in advance
What can javascript programs do?
Why do we need hoisting in javascript?
What is array in javascript?
How to set the cursor to wait in JavaScript?
What is the method for reading and writing a file in javascript?
a code in vb script, which creates a table of 5*2 in html this is a static table, one more same dynamic table, as we give input the table should get created.
What is eager initialization in java?
What are the concepts of object oriented programming?Explain with an example.
Advantages & Disadvavtages of Java Script? Advantages & Disadvantages of CGI Scripting? Structure of Java Script? Commands of Java Script? HTML Basic Reviews?