title: Extract values from a multidimensional array
body: <p>I have a very big array with car makes and models. I've already extracted the makes into a separate array, but I am struggling to extract the models while also maintaining their association to the make.</p>
  
  <p>Here is a sample of the array:</p>
  
  <pre><code>var dataa = new Array
          (
              ['Acura','','Integra','Mdx','Rl','Rsx','Slx','Tl','Tsx'],
              ['Aixam','','400','505','600'],
              ['Alfa romeo','','145','146','147','155','156'],
              ['Aston martin','','.','DBS','Db7','Db9']);
  </code></pre>
  
  <p>As you can see I have a multi-dimensional array with the car make (located at <code>dataa[0][0]</code>), then an empty value and then the model for this make.</p>
  
  <p>I am using this code to to get the car makes:</p>
  
  <p>This gives me the fist value of every nested array -> dataa[i][0]:</p>
  
  <pre><code>for (var i = 0; i &lt; dataa.length; i++) {
    document.write(dataa[i][0] + "&lt;br&gt;");
  }
  </code></pre>
  
  <p>My problems start HERE.</p>
  
  <p>I CAN NOT extract all models and assign them to the proper car make. I have tried for-loop's, loops with brakes, while loops and loops with conditional statements but I can't do it.</p>
  
  <p>Please give me some advice here. Would jQuery or some other technology help me?</p>