Javascript array object fails throwing "object error" in IE
<p>I have a javascript array object like</p>

<pre><code>{arr = {"0":{"name":"henry","role":"user"},"1":{"name":"mark","role":"admin"}}
</code></pre>

<p>I have a html which requests this array from my server( by including a script tag with url to my server function that serves this array}</p>

<p>The problem is that When I run my HTML file in firefox, it easily detects this array and does the further processing with it but On IE , when I try to access the elements of the array, it throws an exception (object is null or undefined).</p>

<p>Any idea why element detection could be failing in IE.</p>

<p>How do we find out the properties of an array object in IE?</p>
