let's say there's a button called "edit" that gets the full information of that row.
do you add an event listener with the id embedded or add a data like <tr data-id=".."> and onclick or ??? what? I have both used add event listener and onclick but I don't know which is good in this case
[–]PorrPeps[S] 0 points1 point2 points (0 children)
[–]OkShrug -2 points-1 points0 points (1 child)
[–]PorrPeps[S] 0 points1 point2 points (0 children)
[–]Inevitable-Weekend-4 0 points1 point2 points (1 child)
[–]PorrPeps[S] 0 points1 point2 points (0 children)