title: Dynamic array names in jQuery
body: <p>I have an array that holds several values. I have several other areas, each with a different number instead of the </p>
  
  <pre><code>var u3s0A = ["Ques De Ti", "Encina", "Renaissance", "Syllabic", "Polyphonic", "None"];
  </code></pre>
  
  <p>However, I was unable to figure out how to refer to the arrays dynamically. I tried doing: </p>
  
  <pre><code>alert(u3s + randomNumber + A[p]);
  </code></pre>
  
  <p>but only got errors. I realize that if i do</p>
  
  <pre><code>alert('u3s' + randomNumber + 'A'[p]);
  </code></pre>
  
  <p>it outputs the correct array name, but it is then transformed to a string and when I index it:</p>
  
  <pre><code>var arrayHolder = 'u3s' + randomNumber + 'A';
  alert(arrayHolder[0]);
  </code></pre>
  
  <p>I get the first number in the array name (u), not the first item in the array.</p>
  
  <p>Any help would be appreciated!</p>
  
  <p>Thanks so much for your time.</p>