$myArray = array(
'part1' => array('id' => 75, 'name' => 'blue_part'),
'part2' => array('id' => 14, 'name' => 'green_part'),
'part3' => array('id' => 40, 'name' => 'red_part'),
I know how to create a basic array in JS like the following:
var myArray = new Array('part1', 'part2', 'part3');
How can I add the multidimensionality to the JS array?
Thanks for all ideas.