How to create 3-dimensional Array in Javascript?
Answer Posted / 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 |
Post New Answer View All Answers
How do you name a variable in javascript?
How to make elements invisible?
Is javascript pure object oriented?
What are the seven data types of javascript?
What is the use of Push method in JavaScript?
Will javascript be replaced?
how can i change colour of a image in aspx file?
The below script is working Internet browser but not working in mozilla plz find that good way... function doSubmit(op){ var rowcount=document.getElementsByName ("parameterTypeId").length; var parameterGrade; var performance; var goal; if(op == "save"){ for (var i=0; i < rowcount; i++) { var param=eval("document.forms [0].parameterGrade"+i); if(param.value != "select"){ return true; } } alert("Please rate atleast one attribute"); return false; }//if ends here
How to change video files randomly after completing its execution in Javascript?
hi iM rahul.my questions is my project is a web based & developed using java,jsp. when i record it using qtp what script i will get like either browser("jdfjkf").page("nkf").... or javawindow("f d ").javaedit("Dasf").... plz clarify my doubt asap and i also need some vbscipt of java coding?
How to call a function in every x seconds in javascript?
How to loop through array in javascript?
How to port a GUI application onto Web
How can javascript make a web site easier to use? That is, are there certain javascript techniques that make it easier for people to use a web site?
How to validate a form in javascript?