$.ajax({
url: '../form.php',
type: "GET",
dataType: "json",
success: function(json) {
$('.table > tbody').append(
`${json.result.map(n =>
`<tr>
<td>${n.id}</td>
<td>${n.description}</td>
</tr>`).join('')}`
);
}
});
invalid character: '`'
success: function(json) {
$('.table > tbody').append(
json.result.map(n =>
`<tr>
<td>${n.id}</td>
<td>${n.description}</td>
</tr>`).join('')
);
}