9 lines
279 B
JavaScript
9 lines
279 B
JavaScript
var count = 1;
|
|
|
|
function addInviteAddRow(row) {
|
|
var tableRef = document.getElementById('invite_add').getElementsByTagName('tbody')[0];
|
|
|
|
// Insert a row in the table at the last row
|
|
tableRef.insertAdjacentHTML('beforeend', row.replace(/###COUNT###/g, count));
|
|
count++;
|
|
} |