title: jQuery multidimensional array definition
body: <pre><code>var questions = {}; 
  for (var i = 0; i &lt; tmp_questions.length; i++) {
      questions[i]["questions"] = tmp_questions[i];
      questions[i]["input_type_id"] = tmp_question_types[i];
      questions[i]["choices"] = tmp_choices[i];
  }
  </code></pre>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot set property 'questions' of undefined</p>
  </blockquote>
  
  <p>How can  i define that multidimensional array ? 
  I tried like <code>var questions = [];</code> but it does not work too...</p>