title: Splitting a string then accessing array
body: <p>New to Javascript and jQuery, so I assume this is a pretty simple question.</p>
  
  <p>I have a date I want to split into a string, then print out the array.</p>
  
  <pre><code>var date = "12/10/2010";
  var dateArray = date.split(/);
  
  $('#printbox').html($(dateArray[0]));
  </code></pre>
  
  <p><code>&lt;span id="printbox"&gt;&lt;/span&gt;</code></p>
  
  <hr>
  
  <p>Edit: The question is, how can I split "12/10/2010" into an array like this:</p>
  
  <pre><code>Array[0] = 12
  Array[1] = 10
  Array[3] = 2010
  </code></pre>
  
  <p>And how do I print them to HTML?</p>