 <pre><code>function myFunction(response) { var arr = JSON.parse(response); var Profile = arr.value[0].PROFILE; var jsonProfile = JSON.parse(Profile); var out = "&lt;table&gt;"; for(var i=0;i&lt;jsonProfile.Shortcuts.length;i++) { out += "&lt;tr&gt;&lt;td&gt;" + jsonProfile.Shortcuts[i].EnvId + "&lt;/td&gt;&lt;/tr&gt;"; } out += "&lt;/table&gt;"; document.getElementById("id01").innerHTML = out; } </code></pre> <p>After going thru your answers, I was finally able to modify my code and it works fine now. </p>