I am trying to populate an HTML table using the JSON string retrieved from a $.getJSON() call. The $.getJSON() call is working fine. But I am not able to populate an html table with the retrieved json data. Please help me with my code..I'm new to this..\[code\]function loadTable(result){ if(result.groups="no"){ var num_rows = result.noofteams; var rows = ""; for(var i=0;i<num_rows;i++){ rows +='<tr>'+result.noofteams+'</tr>'; } $("#container").append(rows);\[/code\]Here result is the json object that i am receiving. result.noofteams is giving proper value (i have checked it). But the problem is, i am unable to populate #container with result.noofteams Please help..