Как вызвать функцию JavaScript в HTML с использованием Thymeleaf и поставить Argumnet в качестве метода arg

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