Selectable people
Name Email Age
Anna[email protected]18
Homer[email protected]35
Oscar[email protected]52
Emily[email protected]30
Jara[email protected]25
[]

0 rows selected.

Important JavaScript

function getSelectedRows() {
  return Array.from(rowChecks)
    .filter(function (box) { return box.checked; })
    .map(function (box) { return JSON.parse(box.dataset.row); });
}