JQUERY Looping an Array
<p>I have an AJAX array returning to JQUERY as follows:</p>

<p><img src="http://i.stack.imgur.com/uqvB3.png" alt="enter image description here"></p>

<p>I can see the array if I do this:</p>

<pre><code> alert(data);
</code></pre>

<p>I then run the array through JSON decode as follows:</p>

<pre><code> var obj = JSON.parse(data);
</code></pre>

<p>Now I need to be able to look through the array and access the elements. I've tried a few ways but I can't see to hook into the elements - eg: jquery error as page doesn't show.</p>

<p>This is one of the ways I've tried:</p>

<pre><code>obj.each(function(key, value) {
    alert(key + ": " + value);
}
</code></pre>

<p>Missing something - any help would be really appreciated.</p>

<p>thx</p>
