Jak wywołać funkcję JavaScript w HTML za pomocą grasicy i umieszczać Argumnet jako metodę Arg

th:data-student="${student}" th:onclick="edit(this.getAttribute('data-student'))"
Bright Bee