let employee = document.getElementByClassName("employee-table"); let empID = employee.dataset.identity; // Or let empID = employee.dataset['identity']