restructured
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
html +=
|
html +=
|
||||||
`<tr class="box" data-row="${index+1}" data-name="${item}" onclick="getData(this)"><td>${item}</td>`;
|
`<tr class="box" data-row="${index+1}" data-name="${item}" onclick="getData(this)"><td>${item}</td>`;
|
||||||
html += `<td >${index + 1}</td></tr>`;
|
html += `<td >${index + 1}</td></tr>`;
|
||||||
})
|
});
|
||||||
html += "</table>";
|
html += "</table>";
|
||||||
document.getElementById("output").innerHTML = html;
|
document.getElementById("output").innerHTML = html;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user