I have the following div that shows the date of a message inside a table:
<div class="data" th:text="${aviso.data}"></div>
I need to put a tooltip that shows the date also when I hover over this date element, but I can not do this by html using the title tool on thymeleaf's account. I'm trying to do by javascript to give an onmouseover () event but I can not select the element since the .getElementByClass property will return me an array and not separate values to display individually in the tooltip. Any suggestions?