I am testing an app on IE.
I'm having the problem reading the ` character when the (dynamic) table is read.
list.forEach(item=>{
let child = document.createElement("tr");
child.innerHTML = `<td>${item.id}</td><td>${item.name}</td><td>${item.password}</td><td>${item.email}</td><td>${item.sex}</td><td>${item.country}</td><td>-</td><td>-</td>`;
table.appendChild(child);
})
If it can be fixed, how can I do this?
IE supports ES5.
You will have to rewrite your code.
list.forEach(item=>{
let child = document.createElement("tr");
child.innerHTML = '<td>'+item.id+'</td><td>'+item.name+'</td><td>'+item.password+'</td><td>'+item.email+'</td><td>'+item.sex+'</td><td>'+item.country+'</td><td>-</td><td>-</td>';
table.appendChild(child);
})