JSON object iteration not working
<p>I am trying to iterate over a json object using the following code but iteration is not working </p>

<pre><code>function iterateRows()
{
    var timein_rows = [{"id":"72","date":"2012-08-01"},{"id":"73","date":"2012-08-01"}];
    $.each(timein_rows, function(i, item) {
       alert(item.id);
    });
}
</code></pre>

<p>I have crated json string using php <code>json_encode</code>. What am I doing wrong?</p>
