I have this code:
function useHttpResponse()
{
if (xmlhttp.readyState==4 )
{
var response = eval('('+xmlhttp.responseText+')');
alert(response);
for(i=0;i<response.Users.length;i++)
alert(response.Users[i].UserId);
}
}
When i alert, the first alert is "[object Object]"
Why is that so? I need to remove that...how?