Javascript array from string of numbers
<p>I am trying to work with arrays in javascript.  Consider the following code:</p>

<pre><code> var visList = '1234,5678,9'
 var visListArray = new Array(visList);
 for (i = 0; i &lt;= visListArray.length - 1; i++)
 {
      alert(visListArray[i]);
 }
</code></pre>

<p>Why doesn't this split the array into individual numbers instead of all of them clumped together?</p>

<p>Any help would be really appreciated.</p>

<p>Many thanks</p>
