Reset scroll position of text to top

Hi,
I have a text element will scroll bars.
After I scroll down, is there a way to instantly reset the scrolling to its initial (top) position ?
Thanks.

element.scrollTop = 0
2 Likes

Many thanks !! (should have thought of it)