Код: Выделить всё
if(xmlhttp.status == 200)
{
var adminList = xmlhttp.responseJSON;
var outputStr = '';
for(var i = 0; i < adminList.length; i++)
{
outputStr += '' + adminList[i].username + '' + adminList[i].fullName + ''+ adminList[i].email+''+adminList[i].id+'';
}
$('#admin_list tbody').html(outputStr);
else
{
$('#msg').html(xmlhttp.status + ": " + xmlhttp.statusText);
}
Подробнее здесь: https://stackoverflow.com/questions/499 ... a-but-i-di