You can you window.scrollTo({top:0,behavior:'smooth'}) like this: const button=document.getElementById('element');. button.
確定! 回上一頁