var row = ''; for (var i in data) { row += '<b>' + data[i].questions + '</b><Br>'; var ss=data[i].answers.split(','); for(var y=0;y<ss.length;y++) row += '<b>' + ss[y]+ '</b><Br>'; } $('#feeds').html(row);