I have a problem with create id or class on my table row. I use Firebase and read data to table in this way.
$("#table_body").append(
"<tr>"+
"<td>" + doc.data().id + "</td>"+
"<td>" + doc.data().nazwa + "</td>"+
"<td>" + doc.data().cena + "</td>"+
"<td>" + doc.data().ilosc + "</td>"+
"</tr>"
);
How can I add className or Id to "tr" ?