Example Of Two Dimensional Array Javascript

RegisterLogin
Example Of Two Dimensional Array Javascript
Post Description: this is an example script of how you can make a javascript array using the for loop. you can display the values of each element.
Tags: example, of, two, dimensional, array, javascript
This Post Was Posted On Aug 02, 2010 By Webune Support #3519
Example Of Two Dimensional Array Javascript - this is an example script of how you can make a javascript array using the for loop. you can display the values of each element.

<script type="text/javascript" language="javascript">

var cars = new Array();
cars['z'] = '300zx';
cars['z'] += '350z';


for (i=0;i<cars['z'].length;i++)
document.write(cars['z'][i]);
</script> 





DEMO



Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Sun Dec 18, 2011 7:42 pm
Powered by: Webune Forums V3