📅  最后修改于: 2022-03-11 15:04:09.634000             🧑  作者: Mango
var tableElementContainer1 = document.getElementById("employeeListContainer1"),
temptableHolder = 'First Name Last Name Title ID Department ';
for(var i=0,len=testData.length; i' + testData[i].firstName + ' ' + testData[i].lastName + ' ' + testData[i].title
+ ' ' + testData[i].id + ' ' + testData[i].department + ' ';
}
temptableHolder += '
';
tableElementContainer1.innerHTML = temptableHolder ;