title: JavaScript split string to array of int
body: <p>I have a string that's on the page and from which I want an array of int.</p>
  <pre><code>&lt;div id=&quot;TheData&quot;&gt;2,3,0,43,23,53&lt;/div&gt;
  </code></pre>
  <p>I'm writing this:</p>
  <pre><code>var ArrayData = ($('#TheData').html()).split(',');
  </code></pre>
  <p>However, <code>ArrayData</code> becomes an array of strings. How can I get an array of ints? Note that some of the elements in the HTML can be equal to <code>0</code>.</p>
  <p>Thanks.</p>