I don’t know how this code is working and it’s jQuery or JavaScript.
Here in this code, what does this `
symbol signify? If I am replacing it with '
then it’s not giving me output.
The other problem is count is declared above and its now id so how can we use
${count}
how it is getting value, what I have studied
var myElement = document.getElementById("id");
and var myElement = $("#id");
are same but it works on id and count here is const not id.
const count = counter[member.assigned];
trHTML += `<tr><td rowspan=${count}>${member.assigned}</td><td>${member.assigned}</td></tr>`;