Home >Web Front-end >HTML Tutorial >How to control the scrolling of an element on the page_html/css_WEB-ITnose
A page is roughly divided into two parts: left and right. The right is a list with a scroll bar. By clicking on the left page, the right list displays different information. Please tell me how to click the button on the left to bring the list on the right back to the top
obj.scrollTop =0;
obj.scrollTop=0;