Access list element in javascript
<p>I am getting this list from server(php): </p>

<pre><code>["Ak-Bulak","Balykchy","Batken"]
</code></pre>

<p>how can i access it and put into selects options thru js, what i tried is: </p>

<pre><code>for (var i in data) {
   $('#cities').append('&lt;option&gt;'+ data[i] +'&lt;/option&gt;');
}
</code></pre>

<p>it putting every chars as one option: <code>&lt;option&gt;[&lt;/option&gt;</code>, <code>&lt;option&gt;"&lt;/option&gt;</code>...</p>

<p>how can i access each element here? not each char.. </p>
